Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setMapLatLon(elm,lat,lng)
- {
- map = new GMaps({
- div: elm,
- lat: lat,
- lng: lng,
- scrollwheel: false,
- mapTypeId: google.maps.MapTypeId.ROADMAP,
- streetViewControl: true,
- zoom: 16
- })
- map.setCenter(lat, lng);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement