Author Topic: TM implementation using Leaflet for mapping  (Read 11385 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2732
  • Last Login:Today at 02:09:10 pm
Re: TM implementation using Leaflet for mapping
« Reply #30 on: June 13, 2018, 10:54:40 am »
What's your experience with the new Leaflet HDX been like?

As we work on the HDX algorithm visualizations with the Leaflet maps, we're seeing that the efficiency is a mixed bag.  With relatively small graphs (up to a few hundred waypoints and connections, at least) it's probably faster and smoother than Google was.  But as things get big (a few thousand waypoints and connections), the whole thing slows down.  I am suspicious that the markers and polylines are ALL redrawn any time ANY marker or polyline is modified, even if there is no pan or zoom.

Checking this out and hopefully optimizing is likely to become a priority for me before the end of summer, as we are hoping to submit a paper about the newest developments on the algorithm visualization side of things.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4234
  • Last Login:February 13, 2024, 07:19:36 pm
  • I like C++
Re: TM implementation using Leaflet for mapping
« Reply #31 on: June 15, 2018, 12:30:43 am »
Shields are not displaying for UNECE International 'E' Roads
http://travelmapping.net/hb/index.php?units=miles&u=&r=nor.e69
Quote
Warning: file_get_contents(/home/www/tm/shields/template_eure_wide.svg): failed to open stream: No such file or directory in /home/www/tm/shields/shieldgen.php on line 331
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2732
  • Last Login:Today at 02:09:10 pm
Re: TM implementation using Leaflet for mapping
« Reply #32 on: June 15, 2018, 07:16:22 am »
Shields are not displaying for UNECE International 'E' Roads
http://travelmapping.net/hb/index.php?units=miles&u=&r=nor.e69
Quote
Warning: file_get_contents(/home/www/tm/shields/template_eure_wide.svg): failed to open stream: No such file or directory in /home/www/tm/shields/shieldgen.php on line 331

https://github.com/TravelMapping/Web/issues/261

Since the shieldgen code and files are not mine, I've been hoping one of the authors of that will take care of this and other problems.  It's possible none f them are currently active in the project or at least don't have the time currently to take a look.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4555
  • Last Login:Today at 04:44:01 pm
Re: TM implementation using Leaflet for mapping
« Reply #33 on: June 15, 2018, 03:56:45 pm »
https://github.com/TravelMapping/Web/issues/268

Quote
Shield Generator: Have converted some shields from SVGs into Blade templates as a proof-of-concept for the shield generator, but not many

I think it just makes no sense to work on the "old" shield generator...