mapster
Forum Replies Created
-
Forum: Plugins
In reply to: [Mapster WP Maps] My maps no longer workingYou could use the Mass Editing feature to turn them all off (which exists in Pro)… otherwise it’ll be painful, or just wait for me to fix that in the code and send you that beta to fix the problem once and for all ??
Forum: Plugins
In reply to: [Mapster WP Maps] My maps no longer workingHi Rana, thanks for the note. I think this is because you have Popup on Load set to open, and you found a bug with this feature (I think maybe when there is more than one feature that has Popup on Load set to open). If you try turning off Popup on Load on your features, does it work again? I’ll be sure to get on this fix ASAP and let you know when I have a beta that you can test with the fix. It shouldn’t be more than a day to get that sorted.
Hello there! Glad to help. Yes, geoJSON.io is great (I even made a video about it at https://www.youtube.com/watch?v=NyNq3uLfsG0). I wouldn’t recommend getting too deep into that stuff if you’re not really into code and geographic files, since there is a ton of room for error. You should really just use a tool like geoJSON.io, or the Mapster plugin itself, to draw features and let it generate a geoJSON for you.
No need to worry about “scaling” the geoJSON — it works on geographic coordinates, so it’ll always go to the right place! That’s how the geography stuff works, a coordinate is the same no matter what the size of the map is.
Let me know if you have any more trouble — I’ll mark the issue as resolved for now.
Hello!
For something like a country, those borders are relatively easily available as GeoJSONs, a type of file used for geography. You can find one for Spain here: https://github.com/georgique/world-geojson/blob/develop/countries/spain.json. If you download this file, you can upload it when you are creating a Polygon (just use the “Upload GeoJSON” button in the same area where you’d normally be drawing the polygon).
For something like another boundary, like the Pyrenees, that might be harder since there aren’t necessarily files freely available. You’d likely have to draw that. You might find it a little easier on a bigger map like https://geojson.io/#map=6.83/42.557/-0.719, then you can export the geoJSON and upload it the same way you uploaded the Spain one.
Sorry there’s not an easier way to “just select” or something these kinds of areas — there are an infinite variety in the world and curating this kind of dataset is challenging! Let me know if you have any more questions.Forum: Plugins
In reply to: [Mapster WP Maps] Edits in Features don’t Update on front endGlad to hear things are working, thank you for posting the solutions and situation!
Forum: Plugins
In reply to: [Mapster WP Maps] Edits in Features don’t Update on front endHello, unfortunately, I do think this is a caching issue. I noticed that, on updating one of the maps (changing the height of the map), and then refreshing the page, nothing changed (as you described). However, when I opened in an Incognito window, the height had updated. When I changed it back, and refreshed in Incognito, it didn’t change.
I had a similar experience with the marker color change. Unfortunately, disabling (temporarily) the W3TotalCache didn’t resolve the issue. I believe that your server or hosting has some kind of caching enabled on the site, or there’s somewhere else a site setup going on here that’s causing the cache to stick even when W3 is off.
Any ideas? Can you check hosting and see what kind of caching they have going on? Unfortunately the plugin can’t control or get around the caching since it does a lot by accessing API endpoints, and I don’t want to overwrite user-set caching.Forum: Plugins
In reply to: [Mapster WP Maps] Edits in Features don’t Update on front endHello! This definitely does sound like a caching issue. I got your emails and I will advise once I have a chance to take a look (it may be tomorrow if not today). Thanks!
Hello! It makes its own little sidebar that sits on a part of the map — it doesn’t hook into your page templates or sidebars or anything like that ??
Forum: Plugins
In reply to: [Mapster WP Maps] Custom Lists…Sure! If you think of specific functionalities you’d want to see in it, please let me know. The Listing Map is new and the goal is always to make these kinds of special maps flexible without completely overburdening the user with too many options.
Forum: Plugins
In reply to: [Mapster WP Maps] Custom Lists…Hey there! OK, so if you don’t want to get your hands dirty, there is a way to MAYBE achieve more or less what you’re looking for. The new Listing Map — see an example here https://wpmaps.mapster.me/examples/mapster-wp-map/listing-map/ and documentation here https://wpmaps-docs.mapster.me/pro-features/specialty-maps/listing-page-map. However, this doesn’t necessarily do all the interaction you want, opening popups or not and clicking on markers, etc. It’s more about moving around the map. I would be open to adding more interactivity if this is important to you on this listing map, I think it’s overall a cool feature.
That said, if you ARE willing to code it out yourself (and avoid paying for Pro or whatever), you could do it with the custom JS and hooks (https://wpmaps-docs.mapster.me/for-developers/javascript-hooks). Every time a marker is added, store the marker reference in an array (map_markers_set
hook ormap_features_set
if you’re using Icons or Circles). Then, it’s relatively trivial to trigger the click event on the appropriate marker using your own custom JS for the list you made.
It’s more complex to trigger a click event for a non-marker (Circle or Icon)… for that you’ll have to dig into Maplibre or Mapbox, but essentially you have to trigger a click event on the lat/lng of the feature, I think it’s generally the best to do it. Not super straightforward though.
Let me know what you think and if this helps! Also feel free to followup at [email protected] if you do want some more work done to make the Listing Map a little more specific to fit your needs.- This reply was modified 6 months, 4 weeks ago by mapster.
Forum: Plugins
In reply to: [Mapster WP Maps] My markers won’t show on my mapGreat!
Forum: Plugins
In reply to: [Mapster WP Maps] My markers won’t show on my mapHello, I’m sorry about this, there was an small error introduced in the latest update that will be getting re-updated and fixed in the next hour. It’s related to SVG images generated by the plugin for certain kinds of default markers. Please update to 1.2.42 when it is released shortly and let me know if it works again. Apologies!
Forum: Plugins
In reply to: [Mapster WP Maps] The website has encountered a fatal errorThank you very much for this! I’ll make a note to be sure to check for that plugin already being installed, that must have slipped when I added it. Thanks for digging into it.
Forum: Plugins
In reply to: [Mapster WP Maps] Maps not loading on SafariThis seemed to have been a rather bizarre, temporary bug related to something in the user’s website cache. Please let me know if you experience a similar issue.
Closing as I haven’t gotten a response, if anyone has a similar issue let me know.