clickandcreate

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: mappress.min.js errors after update #17603
    clickandcreate
    Participant

    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?

    in reply to: mashup stopped working #17600
    clickandcreate
    Participant

    @Chris Thanks for the update. I installed the new version, and my mashup map is working again.

    in reply to: mashup stopped working #17593
    clickandcreate
    Participant

    For what it’s worth, I seem to be having the same problem. My shortcode is this:

    [mashup query="post_type=community"]

    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.

Viewing 3 posts - 1 through 3 (of 3 total)