mapster
Forum Replies Created
-
Forum: Plugins
In reply to: [Mapster WP Maps] PHP Error in frontend APIYes. victor@mapster.me
Forum: Plugins
In reply to: [Mapster WP Maps] PHP Error in frontend APIHi Francesco, is this happening locally or is there a site I can visit? I believe I’ve fixed this in 0.5.13 but perhaps I was mistaken, it would be good to check the bug in action.
Forum: Plugins
In reply to: [Mapster WP Maps] Initial zoomYou will need to set the coordinates then, yes. The Fit to Features necessarily sets the center and the zoom together automatically. A useful tool to find coordinates is geojson.io, if that helps!
Forum: Plugins
In reply to: [Mapster WP Maps] Initial zoomHello, yes, definitely. It’s listed in the “View” section: https://wpmaps.mapster.me/documentation/maps#setup. You just change “Fit to Features” to “Manual Center and Zoom”.
Forum: Plugins
In reply to: [Mapster WP Maps] Different zoom level for desktop and mobileThanks, yes, actually we had that before, but in order to load the map initially on the bounds (without resizing), we had it load the bounds directly. After looking again at initialization options in Mapbox, I see there is
fitBoundsOptionsI can pass during initialization of the map. I’ll update this with a padding of 20 in the next update!Thanks.
Forum: Plugins
In reply to: [Mapster WP Maps] Different zoom level for desktop and mobileHey there! Nice idea but I think it’s maybe a bit much to add this much detail into the editing area. This is kind of the purpose of the “fit map to features” so that it snaps no matter the user’s device.
I would actually recommend making a custom script for this (https://wpmaps.mapster.me/documentation/maps#custom-scripts) as it’s a fairly simple thing to do code-wise. You’ll make a function something like
function zoomMapForUser(map, features) { if(window.innerWidth <= <mobile-width-desired>) { map.setZoom(4); } else if(window.innerWidth <= <mobile-width-tablet>) { map.setZoom(5); } }Add this to a file loaded onto your map page. Then, add the
zoomMapForUserinto the custom scripts textbox on the Map editor page, and it should call it and rezoom appropriately!Forum: Plugins
In reply to: [Mapster WP Maps] PHP Error in frontend APIYep, you caught us! We made a major improvement to front end loading and became aware of this error yesterday, and we are just preparing a push to fix it. It’ll be fixed later today in 0.5.12.
Forum: Plugins
In reply to: [Mapster WP Maps] PHP Error in frontend APIHi, if you don’t mind, try re-downloading 0.5.10 (I made a small additional change), and hopefully that’s all for your errors. Let me know if more pop up though.
Forum: Plugins
In reply to: [Mapster WP Maps] PHP Error in frontend APIHey there! Thanks for the clear bug report. Try out the latest version (0.5.10) and let me know if that sorts things out.
Forum: Plugins
In reply to: [ACF Photo Gallery Field] Loses gallery images on editSame issue, version 1.7.8. It doesn’t even appear that they are properly saved on the first save, as they don’t show in the editor — but I did see them returning in an API response, so they must have been saved on the first try. After that, after pressing Update, they disappeared completely and never come back, even after deleting the field and creating a new Photo Gallery field. The plugin seems to work well otherwise, but the images don’t seem to be getting saved on pressing Update.
Forum: Plugins
In reply to: [Mapster WP Maps] Line/Polygons improvementHi Ziemo, thanks for the suggestions. This is added in 0.5.5.
Forum: Plugins
In reply to: [Mapster WP Maps] Controls icons not visible on mapHey there Ziemo, glad to hear the fullscreen is not broken 🙂
In the latest update (0.5.5), you’ll see that the styles are tighter now on the control buttons. I think they should show up properly in your theme now. Give it a try!
Hi Ziemo, it doesn’t sound like normal behaviour but I can’t really follow you. It sounds like you successfully created a map, and then when you later went and pressed Update, everything disappeared from it? You may want to email me at victor@mapster.me so I can take a closer look and try to replicate the issue.
Forum: Plugins
In reply to: [Mapster WP Maps] Controls icons not visible on mapHello again! You mentioned in your original post that the fullscreen control wasn’t working. I’m trying to get a sense of how you’ve tested it, as it works on our own tests. Perhaps you can describe what you did to test this and how you knew it wasn’t working?
I will look to add the increased styling in a next update, probably in the next couple of days.
Forum: Plugins
In reply to: [Mapster WP Maps] Keeping map location for line creationHello! This might be helped in our latest update (0.5.4).
You can now Duplicate Lines, Polygons, etc, easily. Just create one, then go to the list of Lines. Hover over the one you want to duplicate, and you’ll see a Duplicate link appear. Click that as many times as you need for the different lines you want to create. Then go into each one and edit as needed!
Let me know if that helps.