BIGMaps Map API documentationBack to API home
2. Using the Maps API
2.1. Initialize Map
create map object:
var map = new BMap(id);
where id is the id of the div where you want to show BIGMaps map.
Example:
 
For loading BIGMaps Maps API through lazy loading method, pass an extra parameter "callback" with a function name as value. This handler function will be called once the API downloads completely.
Example:
Live example : click here
<< BackNext >>
Copyright © 2009 BIGMaps.com. All rights reserved