-
AuthorPosts
-
April 21, 2021 at 12:43 am #1295636
Hey there!
I’ve got some questions concerning the new ALB-Element for OpenMaps.1. There is the option to grayscale the map and one can choose the percentage of that grayscale. Would it be possible to change that gray into another color, like having a „greenscale“ or a „redscale“? If so, could you please provide the code for QuickCSS or some additional Map Attributes?
2. In „Marker Location“ and „Marker“ there’s a button to „Fetch coordinates for address above“ to speed up loading on frontend. But when I click that button nothing happens. Why?
3. In the Theme Options one can change the Leaflet Library Files location. „Use theme bundled library“ should be the best and fastest option to use – right?
4. Open Street Maps offers different Map Layers to use (like “Bicycle” or “Humanitarian”). Is it possible to change the map layer within the new ALB-Element?
5. What about the GDPR? Did you implement an option into the cookie consent to decline Open Street Maps/Leaflet being used, so that users see some „Not allowed“ or something instead of the map when they opt out of any not necessary cookie?
Thank you for your answers in advance!
- This topic was modified 3 years, 7 months ago by tribaleye13.
April 22, 2021 at 9:41 am #1295977Hey,
Thanks for contacting us!
1. Grayscale is done by CSS classes ‘avia-grayscale-xxx’ only and it is not possible to add other colors using pure CSS.
2. You would need to enter an address and then click the button. If it is not working, please make sure that the address is valid.
3. Yes and when you choose that option, assets are loaded from the theme and not from external server.
4. Out of the box, no but you can find get_maps_html_from_alb_shortode() function in enfold\config-leaflet-maps\class-avia-leaflet-maps.php if you would like to extend the implementation.
5. No, we have not. As far as I know there are no cookies used. If you are using bundled files, the only request is to OSM server is for map and in Enfold > Theme Extentions > OpenStreetMaps options you can find links to privacy pages of OSM.
Best regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.