I understand there are no methods to do this using the plugin. How can
I implement polylines on a map created with jquery-ui-map?
I have tried the following but cant get it to work:
route.setMap($('#map_canvas').gmap('getMap'));
where route is set up with the following:
<!--POLYLINE SETUP-->
var routeCoordinates = [
new google.maps.LatLng(37.75709331368999, -122.39760875701904),
new google.maps.LatLng(37.75755136001274, -122.39790916442871),
new google.maps.LatLng(37.75807726155255, -122.39795207977295),
new google.maps.LatLng(37.75811119055579, -122.39713668823242),
new google.maps.LatLng(37.763777115796074, -122.39771604537964)
];
var route = new google.maps.Polyline({
path: routeCoordinates,
strokeColor: "#1a3147",
strokeOpacity: 1.0,
strokeWeight: 3
});
<!--POLYLINE SETUP-->
On Nov 27, 5:46 am, Johan Säll Larsson <johansalllars...@gmail.com>
wrote:
> http://code.google.com/p/jquery-ui-map/wiki/jquery_ui_map_v_3_sample_...
> E-post: johansalllars...@gmail.com