Is this plugin still active?
]]>When I try activate the plugin I get this message
Parse error: syntax error, unexpected T_FUNCTION in /home/storage/d/10/61/oikabumrj/public_html/beteste/wp-content/plugins/mapbox-for-wp-advanced/mapboxadv.php on line 39
please help
thanks!
]]>Bonjour,
First of all thank you for this plugin.
I have issues adding dynamically some markers to my map.
First try : Using mapfeaturesids
. I uploaded some tiles to mapbox and put the id in this attribut.
[mapboxadv_map mapid="1"]
This didn’t work, my markers wouldn’t be displayed on the map.
2nd try : Using mapfeaturescode
. I didn’t understand your sentence
A GeoJSON object, from your own Javascript code.
I just put my Javascript between <script>
just before the shortcode.
<script type="text/javascript">
var test = [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [2.35,48.85]
},
"properties": {
"icon": {
// icon properties ...
}
}
}
];
</script>
[mapboxadv_map mapid="1" mapfeaturescode="test"]
This didn’t work either.
3e try : Same as 2nd but putting the whole JSON Object in the attribute entirely.
[mapboxadv_map mapid="1" mapfeaturescode="{\"type\": \"FeatureCollection\",\"features\": [{\"type\": \"Feature\",\"geometry\": {\"type\":\"Point\",\"coordinates\":[2.35,48.85] }, \"properties\":{}}]}"]
Here the ]
closes the shortcode at the wrong end.
Sorry for this long post, and thank for your help.
]]>When you create/modify a style now in Mapbox Studio, you’ll get a Style URL instead of a Map ID. Is there a way I can use a Style URL with the plugin or do I need to somehow convert that to a Map ID?
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>How do you use this plugin to pull/render a map?
I only see a url to share the map nothing references a mapid.
That URL starts with mapbox://styles/username/string
Also there is a broken link on the first page of your website with regards to the documentation.
Thank You.
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>First off, thanks so much for this plugin!
The “disable touch zoom” parameter is not working for me right now. I am using the widget mode. Are you able to see if this is an issue with the plugin right now?
Thanks!
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>Hello,
I tried to restore a clone made with WP Clone plugin (https://www.ads-software.com/plugins/wp-clone-by-wp-academy/) from one domain to another and after a successful restore message of WP Clone when I try to check the website (access the front end) I’ve got:
Parse error: syntax error, unexpected T_FUNCTION in /home/…/wp-content/plugins/mapbox-for-wp-advanced/mapboxadv.php on line 39
Any ideas or quick fixes?
All this on a fresh WP 4.2.2, Hello Dolly deleted and WP Clone installed and activated.
Tudor
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>I have 2 posts each with the same map but centered on 2 different places. I can display them individualy correctly but on the latest posts page, post 1 (most recent) has its map centered with the parameters of post 2, and post 2 has its map centered on … nowhere.
My site : https://august15.esy.es/
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>I have tried your plugin. I have been able to display my map but many parameters are not working for me. I have listed below the ones I have tried and indicated if they work or not. I have read somewhere that wordpress disables many parameters passed with <iframe> for security reason; some plugins like “IFRAME” have been developed for that reason; could it be a similar problem ?
Acces Token : YES IT WORKS
Continuous world : YES IT WORKS
Disable drag : NO DOES NOT WORK
Map width [mapwidth] : YES
Map height [mapheight] : YES
Map center (Latitude) [mapcenterlat] : NO
Map center (Longitude) [mapcenterlng] : NO
Map zoom level [mapzoomlevel] : NO
Fit map to markers [mapfittomarkers] : NO
Center on marker click : YES
Static map [mapstaticmap] : YES ( 90% quality JPG ) and some parameters that did not work before work now with the static map ( fit to markers, legend )
Clusters mode : available modes ‘none’, ‘classic’ or ‘custom’ CLASSIC OR CUSTOM DO NOT WORK
Zoom control [mapzoomcontrol] : DUPLICATES THE zoom control supplied by mapbox
Thank you for your assistance and for your plugin
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>Hello,
I cannot use the plugin due to the following error on the Maps page :
call_user_func_array() expects parameter 1 to be a valid callback, function ‘maps_page_handler’ not found or invalid function name in /home/[…]/wp-includes/plugin.php on line 496
https://www.ads-software.com/plugins/mapbox-for-wp-advanced/
]]>