Change route line style in map with route

  • christian1776b
  • christian1776b's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 4 weeks ago - 3 years 4 weeks ago #5683 by christian1776b
christian1776b created the topic: Change route line style in map with route
Hi Dima,

Another very nice feature that I really would love to use is the ability to change line style and color for a route. At this moment, only a solid line, standard blue color can be used to draw a route. I would very, very much love to be able to customize this : i.e. blue for car route, green for bike, red for walk, you get the idea.

The reason for this ? I use a lot of maps with routes on my USA travel site ( www.passion-usa.net , French and English available), and for a given day of travel, I would love to show things like "On this day, we drove from here to there, walked from here to there, rode the subway from here to there ..." and so forth.

I have absolutely no clue whether that's easy or hard to code, or even if it's feasible within the Google Maps API. But if it's feasible and you ever need a beta-tester, I'd be more than glad !

That being said, now that I've learned how to use this great extension within the Google Maps API constraints, I love it !

Best regards,

Christian
Last Edit: 3 years 4 weeks ago by christian1776b. Reason: Selected a topic icon

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #5689 by Dima
Dima replied the topic: Change route line style in map with route
Hi.
As I remember (I checked a few weeks ago) it can be done.
When I get more free time, I'll do this.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #5719 by Dima
Dima replied the topic: Change route line style in map with route

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

  • christian1776b
  • christian1776b's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 3 weeks ago #5721 by christian1776b
christian1776b replied the topic: Change route line style in map with route
Hi !

Great news !

As I understand it, the updated plugin (4.2.2.0) is only available for J 3.x. Is this correct ?

If it's correct, then I need to update my site to J 3.x. I'm currently running 2.5.24, and I'm eager to test this enhancement !

Thanks Dima,

Christian

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago - 3 years 3 weeks ago #5722 by Dima
Dima replied the topic: Change route line style in map with route
Yes.
Now I continue development only for j.3.x.

I wrote about this. It is because 2.5 stopped be supported in a week.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Last Edit: 3 years 3 weeks ago by Dima.

Please Log in or Create an account to join the conversation.

  • christian1776b
  • christian1776b's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 years 3 weeks ago #5732 by christian1776b
christian1776b replied the topic: Change route line style in map with route
Hi Dima,

I tested the new plugin for J3, I easily found the 3 new fields in the route screen (line width, color, opacity) and I played with the 3 of them. But on my test site, none works. The line for each route is still default. Did I miss something ?

Thanks for your help,

Christian

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds

Donate


Go to top