bMap - Examples

1. Basic example2. Markers in constructor3. Markers, polylines & polygons
4. Marker sidebar5. Layer Sidebar6. AJAX Layers
7. Advanced AJAX8. Google Functions9. Custom Icons
10. Advanced marker events11. Image Overlay Function12. New sidebar features
V3 - Example 3V3 Example 5V3 Example 12
V3 API Custom Icons
Please note that unless stated, the examples shown here use the V2 of the google maps API - and bMap version 1.2.3
There are only three examples using the V3 API - and bMap 1.3

Using Google API functions with bMap:

How its done:

This example is not complete... watch this space!
The google object is avalible to you here: $(element).data('bMap').map....
Check out this simple example:

	picLayer = new GLayer("com.panoramio.all");
	$('#map').data('bMap').map.addOverlay(picLayer);
	
	$('#map').data('bMap').map.addControl( new GOverviewMapControl() );

Here we are using the map object directly to get the feature we want. In the first instance the panoramio overlay of images. And the second action is to get the mini-map in the lower right corner. For more information refer to the google maps v2 api documentation.




Comments:

Amzing
Ivan Okhin - 6/4/2010 12:59:58 PM
This example is great! Love technology!

 (*required)
 (*private)
 (*required)
 
© 2010 blocsoft.com All Rights Reserved. GPL License Privacy Policy Contact