bMap - jQuery Plugin
A google maps jQuery Plugin
The bMap jQuery plugin allows you to quickly and easily add mapping to your website. It has been designed from the beginning to handle lots of markers, lots of layers, and custom marker icons.
The plugin can manage a sidebar for you, one with a list of markers, one with a list of layers. The sidebars can be styled with CSS.
The internal Google object is exposed, so you can continue to use all of the power of the Google Maps API. You can also access the internals of the bMap object.
This is the first version of my first jQuery plugin, so there might be some bugs. So please provide some feedback (I already know that multiple maps on the same page can interfere with each others marker click events, so you are advised to have only one bMap on a page at a time). If you like bMap then show your appreciation by donating anything you can spare (nothing encourages updates more!). Or feel free to look at the code and suggest improvements.
If you use bMap on your site, then let me know at firstname.lastname@example.org
A quick example:
This is almost the simplist example of bMap. We have selected the div with its ID, and set the zoom level. bMap defaults to a fully zoomed out map, centered on the Greenwich Meridian.
Mike - 8/12/2010 12:27:10 PM
Is it possible to get map to zoom in to maximum as well fitting all markers on the screen?
For example map is zoomed out to 1 and I add two markers, one in France and one in USA, so map zooms as much as possible but not to match, that both markers are seen on screen.
Craig - 9/21/2010 2:15:00 AM
How is the performance if you want to add hundreds or thousands of markers (with custom info windows) at any one time?
Darren - 9/22/2010 5:00:21 AM
bMap extends google maps. If you look on the google forums you will see quite a lot of debate regarding performance with lots of markers. You could do some tests, but many thousands of markers will have a negative impact. There are techniques you can use to improve the situation - but it is outside the scope of this project.
dbernal31 - 10/4/2010 1:38:50 PM
J - 10/12/2010 5:58:04 PM
Just to continue the previous post, I pointed the Serviceurl to the above. Iadded an error handler that prints what the error is. I got an parse error.
Something is not right with version 1.3 and AJAX
Darren - 10/13/2010 9:52:22 AM
Perhaps if you post a link to your example, I can take a look?
gecko - 10/22/2010 4:00:42 PM
I will helpful if the download page caome with full working examples
pqc - 10/31/2010 3:44:01 AM
tronchet - 11/17/2010 3:00:44 AM
William - 2/17/2011 7:04:52 AM
Let's see if this posts!!
kashyap - 3/9/2011 11:20:30 PM
I want the jar
wannabeIT - 6/9/2011 10:51:38 AM
copied code from ur website n added my google API key, downloaded jQuery and saved in root folder. when i tried to run, every things is perfect except Map . in the place where map is supposed to load, i get a blank space. thanks.
grindking - 8/9/2011 8:35:57 AM
Even on your page there's an error after the click-event (markers).
Think Problem is here:
var h = $("
Eugene - 10/12/2011 10:34:03 AM
Hi guys! Could you please explain how can I post/get geocoding requests with your plugin? Thank you.
astaza - 3/6/2012 8:16:51 AM
hi, nice work
but there are some errors in ie7
look here http://astaza.com/
Terry - 3/29/2012 9:21:21 PM
Thank you for making it easier to work with gMaps on mobile devices. Digging in and figuring it all out now.
BUT, would you please share with me how you get the popup / overlay window for the download link? That is very cool.
Can email me if you have the time.
Niklas - 5/14/2012 3:25:18 PM
Nice script! But how to display distance from a given point?
stbramanian - 12/9/2012 1:16:21 AM
teaching to students
isabelle morais - 12/7/2013 5:44:15 PM