Forum Replies Created
Thanks. I didn’t think about caching, but clearing the cache seems to have cleared it up.
I am having a different JS issue on the front end, and I don’t know if maybe I should create a new thread for it. But after updating, I noticed that a script on the front end that centered and zoomed in on the POIs on my mashup map has quit working. The map ID is mapp4, and the console is giving me messages like
Uncaught TypeError: mapp4.getPoiById is not a function
at HTMLDivElement.<anonymous> ((index):353)
at HTMLDivElement.handle (jquery.js:3)
at HTMLDivElement.dispatch (jquery.js:3)
at HTMLDivElement.r.handle (jquery.js:3)
In my script I plugged in an ID number just to make sure the variable I was using to generate the ID wasn’t the problem. I took the number from the “data-mapp-poi” attribute of a marker on the map, but I don’t know if that is the number I should be using. Did something change with the js to zoom POIs?
@Chris Thanks for the update. I installed the new version, and my mashup map is working again.
For what it’s worth, I seem to be having the same problem. My shortcode is this:
I’ve double-checked the post type slug, and it is correct. But the map is drawing in posts from other post types too, and I’m not sure why this is happening.
I’m using the current version of Mappress Pro.