Change route line style in map with route

  • christian1776b
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 11 months ago - 9 years 11 months ago #5683 by christian1776b
Change route line style in map with route was created by christian1776b
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: 9 years 11 months ago by christian1776b. Reason: Selected a topic icon

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

More
9 years 11 months ago #5689 by Dima
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 , help with translation ;)

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

More
9 years 10 months ago #5719 by Dima

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

  • christian1776b
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 10 months ago #5721 by christian1776b
Replied by christian1776b on 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
9 years 10 months ago - 9 years 10 months ago #5722 by Dima
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 , help with translation ;)
Last edit: 9 years 10 months ago by Dima.

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

  • christian1776b
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 10 months ago #5732 by christian1776b
Replied by christian1776b on 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.178 seconds
Powered by Kunena Forum