walkhighlands

Check this board for announcements about new features and content on Walkhighlands

Multiple routes from the same point in 'view on a map'

Multiple routes from the same point in 'view on a map'


Postby digby » Thu Sep 13, 2018 3:46 pm

Mac OS High Sierra, Safari 10.0.1, Firefox 45.9.0esr and Chrome 68.0.3440.106 (Official Build) (64-bit)

If there are multiple routes from the same point in 'view on a map' the options don't open out when the icon is clicked. Single route points are working - there is the route and a wee popup window. With a multiple it just zooms and centers. Nothing else.

There's a lot of Leaflet javascript errors...

Uncaught TypeError: t.icon.createIcon is not a function
at e._initIcon (leaflet.js:5)
at e.onAdd (leaflet.js:5)
at e._layerAdd (leaflet.js:5)
at e.whenReady (leaflet.js:5)
at e.addLayer (leaflet.js:5)
at e.addLayer (leaflet.js:5)
at e.addLayer (leaflet.js:5)
at leaflet.markercluster.js:1
at e._recursively (leaflet.markercluster.js:1)
at e._recursively (leaflet.markercluster.js:1)

leaflet.js:5 Uncaught TypeError: Cannot set property '_leaflet_pos' of undefined
at Lt (leaflet.js:5)
at e._setPos (leaflet.js:5)
at e._animateZoom (leaflet.js:5)
at e.fire (leaflet.js:5)
at e._animateZoom (leaflet.js:5)
at e.<anonymous> (leaflet.js:5)
Lt @ leaflet.js:5
_setPos @ leaflet.js:5
_animateZoom @ leaflet.js:5
fire @ leaflet.js:5
_animateZoom @ leaflet.js:5
(anonymous) @ leaflet.js:5
requestAnimationFrame (async)
f @ leaflet.js:5
_tryAnimatedZoom @ leaflet.js:5
setView @ leaflet.js:5
fitBounds @ leaflet.js:5
zoomToBounds @ leaflet.markercluster.js:1
_zoomOrSpiderfy @ leaflet.markercluster.js:1
fire @ leaflet.js:5
fire @ leaflet.markercluster.js:1
_propagateEvent @ leaflet.js:5
fire @ leaflet.js:5
_propagateEvent @ leaflet.js:5
fire @ leaflet.js:5
_fireDOMEvent @ leaflet.js:5
_handleDOMEvent @ leaflet.js:5
r @ leaflet.js:5

leaflet.js:5 Uncaught TypeError: Cannot read property 'parentNode' of undefined
at ut (leaflet.js:5)
at e._removeIcon (leaflet.js:5)
at e.onRemove (leaflet.js:5)
at e.removeLayer (leaflet.js:5)
at e.removeLayer (leaflet.js:5)
at e.removeLayer (leaflet.js:5)
at leaflet.markercluster.js:1
at e._recursively (leaflet.markercluster.js:1)
at e._recursively (leaflet.markercluster.js:1)
at e._recursively (leaflet.markercluster.js:1)
ut @ leaflet.js:5
_removeIcon @ leaflet.js:5
onRemove @ leaflet.js:5
removeLayer @ leaflet.js:5
removeLayer @ leaflet.js:5
removeLayer @ leaflet.js:5
(anonymous) @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursively @ leaflet.markercluster.js:1
_recursivelyRemoveChildrenFromMap @ leaflet.markercluster.js:1
_mergeSplitClusters @ leaflet.markercluster.js:1
_zoomEnd @ leaflet.markercluster.js:1
fire @ leaflet.js:5
_moveEnd @ leaflet.js:5
(anonymous) @ leaflet.js:5
requestAnimationFrame (async)
f @ leaflet.js:5
_onZoomTransitionEnd @ leaflet.js:5
_catchTransitionEnd @ leaflet.js:5
r @ leaflet.js:5

Those were from Chrome. Here's some from Safari...

[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (leaflet.markercluster.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (leaflet.markercluster.js.map, line 0)
[Error] TypeError: t.icon.createIcon is not a function. (In 't.icon.createIcon(this._icon)', 't.icon.createIcon' is undefined)
_initIcon (leaflet.js:5:73300)
onAdd (leaflet.js:5:72275)
_layerAdd (leaflet.js:5:64713)
whenReady (leaflet.js:5:44753)
addLayer (leaflet.js:5:65096)
addLayer (leaflet.js:5:66780)
addLayer (leaflet.js:5:67773)
(anonymous function) (leaflet.markercluster.js:1:22899)
_recursively (leaflet.markercluster.js:1:23969)
_recursively (leaflet.markercluster.js:1:24076)
_recursively (leaflet.markercluster.js:1:24076)
_recursively (leaflet.markercluster.js:1:24076)
_recursively (leaflet.markercluster.js:1:24076)
_recursively (leaflet.markercluster.js:1:24076)
_recursivelyAddChildrenToMap (leaflet.markercluster.js:1:22639)
(anonymous function) (leaflet.markercluster.js:1:3820)
(anonymous function)
addLayers (leaflet.markercluster.js:1:3910)
onAdd (leaflet.markercluster.js:1:8016)
_layerAdd (leaflet.js:5:64713)
whenReady (leaflet.js:5:44753)
addLayer (leaflet.js:5:65096)
(anonymous function) (wmap.php:98)
onreadystatechange (wmap.php:154)
digby
 
Posts: 10
Munros:64   Corbetts:14
Grahams:17   Donalds:12
Sub 2000:5   
Joined: Nov 23, 2010



Walkhighlands community forum is now advert free

We need help to keep the site online.
Can you help support Walkhighlands and the online community by setting up a monthly donation by direct debit?



Return to Walkhighlands announcements and feedback

Who is online

Users browsing this forum: No registered users and 1 guest