Is it possible to put consecutive markers to a map? I mean if I want to draw a route, I would put markers and they would start from 1 to go on like 2, 3, 4......

Even better, is it possible to draw a route (lines snapping to actual roads)?

CommentFileSizeAuthor
#3 map.jpg98.57 KBSinan Erdem
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Brandonian’s picture

Status: Active » Closed (works as designed)

@etcetera9, you're probably looking to draw a polyline. This is a setting you can enable on the Openlayers map. We currently don't have any support for snapping to roads lines/features. Interesting idea, but there's a lot of behind the scenes stuff that would need to happen to make that work.

Sinan Erdem’s picture

Thanks. Polyline isn't enough for me.

I have found a module that does tracking / routing: drupal.org/project/trackfield

It is released on D6. But maybe it has some usable code to entegrate to geofield... Wouldn't it be nice? :)

Sinan Erdem’s picture

FileSize
98.57 KB

Numbered markers are also good for me. I am attaching an example. This functionality was present on GMaps Tools module on D6.

leo82’s picture

Status: Closed (works as designed) » Active

@etcetera9 did you achieve that result in drupal 7? is it possible to draw line between points even if not possible to number marker?

Sinan Erdem’s picture

Unfortunately I didnt yet...

Brandonian’s picture

Status: Active » Closed (works as designed)

Marking as "works as design." If someone would like to add a patch to add this map display, I'm happy to look at it.

Sinan Erdem’s picture

Status: Closed (works as designed) » Active

I found a very good documentation about this issue here: http://vikku.info/programming/google-maps-v3/draggable-directions/saving...

Do you think this can be added to the scope of this module?

Cheers...