You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using JSON for my data. The data comes up in the list no problem. However, there are no markers on the page. When I click on an item in the list, I get the following error:
Uncaught TypeError: Cannot read property 'getPosition' of undefined
And this is in reference to line 721 which is: map.panTo(selectedMarker.getPosition());
I figured it out, and this will be a good not for those doing this kind of project in the future. Unless or until the data structure is rebuilt for this plugin (not saying it should) your data model MOST match what is listed on line 449. You can remap a bunch, but if that is how your data starts you'll have a much easier time of it.
I'm using JSON for my data. The data comes up in the list no problem. However, there are no markers on the page. When I click on an item in the list, I get the following error:
Uncaught TypeError: Cannot read property 'getPosition' of undefined
And this is in reference to line 721 which is: map.panTo(selectedMarker.getPosition());
My setup is:
Any help is much appreciated
The text was updated successfully, but these errors were encountered: