Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2008 at 02:56 UTC
Updated:
28 Jun 2008 at 00:43 UTC
Would it be possible to incorporate something like this - http://mongolia.charityrallies.org/en/cr_maps_editroute into the macro creator?
the functionality was created by a simple
function editroutectrlsdraw() {
var map = Drupal.gmap.getMap('auto1map');
var shape = map.vars.shapes[0].shape;
shape.enableDrawing();
}
function editroutectrlsedit() {
var map = Drupal.gmap.getMap('auto1map');
var shape = map.vars.shapes[0].shape;
shape.enableEditing();
}
so it would just be a case of serialising the points...
Pete.
Comments
Comment #1
bdragon commentedI just finished reworking the overlay editor to use the new feature editing tools.
Comment #2
pbarnett commentedThat's excellent! I thought you were probably going to do that; I'll check it out...
Thanks for the recent updates; the updated GMap API is really clean and elegant!
Demo at http://www.charityrallies.org/en/cr_maps_routes
Just have to work out how to make the polylines trigger onmouseover and onclick events :-)
Pete.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.