Jump to content

Vector paths on the the google map with javascript ?


dekorasyon

Recommended Posts

i want to draw vector paths on the the google map on my site that I want to add moving vehicles on the roads and i want to zoom the map

 

when the cars going somewhere. Can I do it? I do not want to take a screenshot of the google map adress. here is my javascript codes.Do

 

you have an idea about google map zooming with animations?

 

 

var options = {
   controls: {
       panControl: true,
       zoomControl: true,
       mapTypeControl: true,
       scaleControl: true,
       streetViewControl: true,
       overviewMapControl: true
   },
   scrollwheel: true,
   maptype: 'TERRAIN',
   markers: [
       {
           latitude: -2.2014,
           longitude: -80.9763,
       },
       {
           address: "Guayaquil, Ecuador",
           html: "My Hometown",
           icon: {
               image: "images/gmap_pin_grey.png",
               iconsize: [26, 46],
               iconanchor: [12,46]
           }
       }
   ],
   icon: {
       image: "http://www.mobilyala.com/mapfiles/marker.png",
       iconsize: [37, 34],
       shadowsize: [37, 34],
       iconanchor: [9, 34],
       shadowanchor: [19, 34]
   },
   latitude: -2.282,
   longitude: -80.272,
   zoom: 10
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...