Forum Replies Created
-
AuthorPosts
-
Hi,
I’m not seeing that. My OpenStreetMap test pages are loading in < 1 sec - but it does seem to vary based on time of day. I don't have any control over the speed at which OSM serves tiles, unless you had some suggestion? If you're still seeing slow performance, you could try Google Maps or Leaflet with Mapbox tiles (in which case you won't be using OSM).
Hi,
There’s no setting for this but you can hide the toggle button by using CSS:
.mapp-menu-toggle { display: none; }Hi,
Unfortunately, setting scrolling on as a default for all maps isn’t supported by the plugin – it can only be done by the shortcode.
Hi,
Google itself doesn’t recommend this because it interferes with page scrolling, but if you want to use it, I’ve added it as a shortcode parameter for version 2.50.
You can enable it in the shortcode as:
[mappress scrollwheel="true"]And the Leaflet version is:
[mappress scrollwheelzoom="true"]August 11, 2018 at 8:04 am in reply to: OSM – add area zone (draw radius and more) like Google Maps #17926Hi,
Do you mean you’d like something for Leaflet like the ‘drawing bar’ that Google offers – the one with the line/circle/polygon/rectangle controls?
August 9, 2018 at 5:04 am in reply to: Change what is displayed when rolling over map points. #17922Hi,
What’s displayed on mouseover is the title of the POI.
You can set the title from a field when generating the map, or in the settings you can have mashup POIs use the post title they were taken from.
If you don’t do either of the above, the title defaults to the street address.
Hi,
Do you mean the geocoding section in the MapPress settings screen? Whatever values you put there should save when you click the ‘save’ button.
I’m not sure what might’ve happened in the intervening two days to reset those settings, unless someone clicked on the ‘reset defaults’ button.
What happens when you enter a value, save, and then just reload the page?
If it happens again, let me know the steps to reproduce it, and I’ll see if it’s a bug.
Hi,
I think you’re asking about the geocoding settings on the MapPress settings screen.
I’m not sure why you needed the extra code. It looks a lot like what’s built into the ‘mappress_meta.php’ file, which also watches the meta events, and updates the map if the meta values have changed.
Maybe it’s something to do with ‘pods’ (I’m guessing that’s a custom fields plugin?). Anyway, I’m glad you got it working.
Hi,
I removed the streetviewcontrol=false option because it didn’t seem anyone was using it. I’ll add it back in for the next version, 2.50, which should be released early next week.
You can hide the hamburger menu with CSS:
.mapp-menu-toggle { display: none; }Hi,
The shortcode just displays a map, it doesn’t contain the POI info like address, icon, etc.
Normally, you can change the icon by just editing the map. Click on the POI, then click on the icon in the POI infowindow to change it.
There’s also an ‘automatic icon’ section in the MapPress settings screen, which can be used to default the icon based on tag/category, etc.
Please see the documentation for more details on both approaches above.
Hi,
Thanks for reporting this, it’s a bug in the tab display code – I forgot to update it while adding the Leaflet functionality.
It’s fixed in 2.49.8. I’ll publish the update tonight.
Hi,
Sorry – I checked the page and saw you’re using a mashup with only one location (so I assumed it was a map).
Mashups currently center & zoom automatically.
The ‘minzoom’ parameter might work for you. It locks the minimum zoom level of the map:
[mappress query="all" minzoom="8"]
Hi,
As far as I know, the default zoom and shortcode are working.
Did you save the map with its center and zoom? It’s a checkbox in the map editor in the current version or in the ‘hamburger’ menu in older versions.
If that doesn’t help, please provide the shortcode you’re using.
Hi,
The plugin supports MapBox Studio styled maps for Leaflet (as well as Google styled maps). But you need to use the latest MapPress (2.49.7) and create a PHP filter.
I’ll write this up more fully in the documentation, but here’s an overview.
MapBox Studio is here:
https://www.mapbox.com/studio/styles/After you make your Studio style, get its URL:
1) Click the menu next to the style, select ‘share, develop and use’
2) Scroll down to ‘develop with this style’
3) Go to the ‘leaflet’ tab. Copy that URLNow edit your theme’s functions.php file and create a filter to add the new style. Replace
with the URL from step 3 above: <?php function mystyles($baselayers) { $baselayers[] = array( 'provider' => 'mapbox-studio', 'id' => 'mystyle', 'name' => 'mystyle', 'label' => __('My style'), 'url' => '<YOUR URL GOES HERE>' ); return $baselayers; } add_filter('mappress_baselayers', 'mystyles');@sandrafriend, is it possible you’re clicking the ‘kml’ button instead of entering an address in the ‘search’ box? That would cause the plugin to prompt you for a kml location.
If that’s not the case, if you could provide a screenshot or login so I can reproduce the issue that would be a big help. You can use the contact form if you’d like to contact me directly.
-
AuthorPosts
