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

bdragon’s picture

Status: Active » Fixed

I just finished reworking the overlay editor to use the new feature editing tools.

pbarnett’s picture

That'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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.