mapster
Forum Replies Created
-
Forum: Plugins
In reply to: [Mapster WP Maps] Location Pop-Ups – Buttons no longer act as linksMarking this as resolved.
Forum: Plugins
In reply to: [Mapster WP Maps] Lines doesn’t appear in public pageHello, as it states, you have an error in your geography. There’s no limit in the plugin, and this error isn’t actually coming from the plugin’s code itself, it’s coming from Maplibre GL as it tries to put your geoJSON onto the map. The post ID with the problem is ID 8704, if you can take a look at that line and ensure it actually has a geography (it looks like it has nothing).
Another note – I would not recommend trying to put such a large set of lines that are so complex onto the map, it will be slow to load without simplification and it’s a considerable size to load for each user. But that’s up to you! I’d simplify with mapshaper.org.Forum: Plugins
In reply to: [Mapster WP Maps] Location Pop-Ups – Buttons no longer act as linksHi Micah, an update is uploading now — try out v1.21.0 and let me know if things are resolved.
Forum: Plugins
In reply to: [Mapster WP Maps] Locations only show in one languageMarking this as resolved, but happy to discuss more if needed!
Forum: Plugins
In reply to: [Mapster WP Maps] Location Pop-Ups – Buttons no longer act as linksHi Micah, I’ll investigate this more. Was it a standard http/https link? I added improved validation in this last push as there were some security concerns raised by Wordfence (annoying but I chose to implement better security). It’s possible that it could be overzealous and breaking normal links.
Forum: Plugins
In reply to: [Mapster WP Maps] Custom Markers and TriggersHello! There are limited options when it comes to the styling available in Mapbox and Maplibre. If you take a look at https://docs.mapbox.com/style-spec/reference/layers/, these are roughly the options I’ve tried to recreate, while leaving out some very rare ones. If you spot one that you want implemented, please let me know and I’ll make sure to add it to the list of customizable options in the next version release!
Forum: Plugins
In reply to: [Mapster WP Maps] Locations only show in one languageHi Kruge! So I haven’t designed the plugin specifically for Polylang Pro, but most translation plugins work on similar principles — duplicate posts, and pick the right one based on the URL or the browser specifications of the language.
In this case, I think it’s actually the language prefix in the URL that’s messing with things. I’ve seen this once before with another user. Basically on the english side of the site, Mapster is calling the URL as https://ic-consult.com/en/wp-json/mapster-wp-maps/map?id=30566 . Then on the German side, it’s doing https://ic-consult.com/de/wp-json/mapster-wp-maps/map?id=30566 . The difference is the /en or /de. /en works probably because that’s the actual main default URL of the site, and for going to the WP API it probably wants that /en — otherwise it’s searching and specifically only looking for German stuff, or just doing something weird.
One thing is to make sure all locations are duplicated properly in German and given their own map — basically full duplication, like you’d do in other translations. Another possible solution is a bit of code to remove that /de from the API call so it fetches the locations you’re expecting.
Let me know what you think and what you try! I’m open to trying to add something to account for this issue, although it can be quite plugin-specific at times.Forum: Plugins
In reply to: [Mapster WP Maps] Low quality custom map marker images on WindowsJust marking this as resolved, please let me know if you need any more help!
Forum: Plugins
In reply to: [Mapster WP Maps] Low quality custom map marker images on WindowsOK, just let me know if you want me to do some testing directly and see if I can get better results?
Forum: Plugins
In reply to: [Mapster WP Maps] Low quality custom map marker images on WindowsHi guys, remember, we aren’t directly using the canvas element here to do the work. We are using Mapbox or Maplibre, so we don’t have complete control and access to every canvas method.
Involved methods include:- Add image(https://docs.mapbox.com/mapbox-gl-js/example/add-image/)
- Icon-image (https://docs.mapbox.com/style-spec/reference/layers/#layout-symbol-icon-image)
- Icon-size (https://docs.mapbox.com/style-spec/reference/layers/#layout-symbol-icon-size)
You can see that SVGs aren’t supported directly, and I believe I have a method that converts any SVG into a proper raster if it’s going to be used as an icon because of this limitation.
If scaling down your image to the size to be used on the map makes it blurry directly, then obviously simply placing it on the map won’t make it a good quality. I can see that the images being loaded are large: https://kaplanliving.com/tachyon/sites/3/2025/04/282×400-3.png and https://kaplanliving.com/tachyon/sites/3/2024/08/282×400-1.png on the current site. Scaling these down can definitely result in artifacts. Again I’d try playing with the size to get the ideal size in Photoshop or whatever image editing program, that looks good to you. Then use that size directly.
If you need, I’m happy to experiment a little myself to get the sharpest icon I can get, but I’ll probably be more or less working on the original image size and avoid scaling since I believe that tends to cause more issues.
Forum: Plugins
In reply to: [Mapster WP Maps] Low quality custom map marker images on WindowsHello Robert! Thanks for the report.
So I’m actually seeing a similar pixel quality both on my Mac and Windows devices (in Chrome). That being said, the quality isn’t great — it’s definitely not as good as you were probably intending with the markers.
The most likely culprit here is the scaling — you probably have the markers uploaded at a much larger size and you’ve scaled them down a lot, and due to different scaling algorithms inside Mapbox symbol layers, sometimes I see a lot of aliasing.
First, try adding your icons at the real size you’re going to show them — see if that helps. If not that, then try scaling them at a regular amount (ie, 1/2 the size, 1/4 the size, and so on).Let me know if that seems to give a better result. Otherwise I can try to implement some other possible solutions, but it’s difficult due to a few pieces that aren’t totally in my control here.
Forum: Plugins
In reply to: [Mapster WP Maps] Conflict with AutomatorWPThis was resolved in 1.17.0.
It’s released now — give it a shot and let me know.
Okay, so this is actually not an issue in Mapster per se — it’s an issue in ACF (Advanced Custom Fields). Mapster includes the base version of ACF under the hood, in order to manage all the options and dropdowns for the Maps and other post types. However, it seems like ACF automatically hides the default Custom Fields (https://stackoverflow.com/questions/66001242/wordpress-gutenberg-editor-doesnt-display-the-post-custom-field). I added this code snippet into the plugin for the next version (to be released within the next day or two), and it worked, and so just keep an eye for that — or if you need it ASAP, send me an email to victor@mapster.me.
Thanks!Thanks for the bug report — I will take a look and report back soon!