[Google Maps API v3] Drawing polylines dynamically

2011-03-17 Thread mk
Hi all,
I am able to generate a static map with polylines that indicate the
path taken by a vehicle. I get the co-ordinates for the start and end
from a DB in the server side.
I now want to be able to draw these lines and refresh the map
information from time to time using AJAX calls. So I wonder if there
is a way to "dynamically" draw
these poly lines on the map indicating some sort of motion with time?
Or if there is a way to remove all the markers,polylines etc from a
previous AJAX call and
create new markers and polylines on every AJAX call to the server?

Thanks,
M

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Directed Polylines

2011-03-03 Thread mk
Hi,
I am wondering if its possible to display a "directed" poly line on a
google map using Maps Javascript API V3?
At the moment I am just able to draw a simple poly line on the map
with no arrows to indicate the direction like :

var flightPath = new google.maps.Polyline({
path: [ arr[0],arr[1] ],
strokeColor: "#FF",
strokeOpacity: 8.0,
strokeWeight: 2
  });

Can someone point out a way of achieving this easily?

Cheers,
MK

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] loading KMZ/KML files with google maps API

2011-03-02 Thread mk
Hi,
Is there a tutorial that shows how I can load a KMZ or a KML file with
the javascript google maps API?
I also then want to be able to highlight some of the roads that are on
this map to display the path to take..what do I look at?
I been looking for sample code or tutorials on how KML files are to be
loaded using google maps API and couldn't
find any. Please help a newbie.

Cheers,
MK

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Don't show direction with application bada

2011-02-11 Thread mk



I am writing  a application in bada . I want to get direction between 2 
place use javascript . When map load , it have a problem that just show 2 
marker in map. It don't show directio between 2 marker. Every body can help 
me , why don't it show a direction?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.