0

So i was wondering if this edition is able to do such a thing. Currently, im drawing a bus route in blue with illustrated waypoints and that is fine so far.

The passanger needs to walk his way up to the bus stop and i want to illustrate that route as ' traced lines ' or traced dots. is it possible to do it using the object : *MapPolylineStyle mapPolylineStyle = new MapPolylineStyle();

///////////////////////////////////////////////////////////////////////////////////////////////////////////// edit in the future : well for anyone running into this issue as of now. thanks to the user @datasun i was able to update from Heremaps Lite edition to Explorer Edition where they have a lot more features regarding the maps and polylines.

you can pretty much do the following code to achieve dashedLines to illustrate a pedestrian route :

 DashPattern dashPattern = new DashPattern(2,10);
  routeMapPolyline.setDashPattern(dashPattern);

where the first parameter means firstGapLength and the second firstDashLength.

1 Answers1

0

Dashed line rendering is not supported by the Lite Edition.

Consider to switch to the Explore Edition and check the DashPattern for MapPolyLines. The Explore Edition has the same APIs, but more features. Only the MapViewLite needs to be replaced by a MapView instance.

Nusatad
  • 3,231
  • 3
  • 11
  • 17
  • do you know if explore edition costs anything or if its too rough on low end phones ? – Victor Pierre Mar 25 '22 at 18:00
  • It works fine, also on lower end phones. The recommended device range is shown in the doc, and it covers mostly every device from the last 7 years. The Explore Edition is free (with the Freemium plan). – Nusatad Mar 28 '22 at 07:43