Kaip keisti GDirections kelio spalvas?
GPolyline doesn't support dots or dashes.
You can change things like the colour, width and opacity either like
this (using undocumented features):
GEvent.addListener(dirn,"load", function() {
var poly=dirn.getPolyline();
poly.color = "#FF0000";
poly.redraw(true)
});
Sprendimas: http://groups.google.com/group/google-maps-api/browse_thread/thread/a57a1191a950e118?pli=1
Kaip pakeisti GDirections ikonas?
http://groups.google.com/group/google-maps-api/browse_thread/thread/c67100eec0e58790/3b3833b69614c70f?lnk=gst&q=GDirections+custom+icons
Komentarų nėra:
Rašyti komentarą