- Support Forum
- Main Forum
- Joomla Extensions Support
- Link to restaurant page in Maps Module marker
Link to restaurant page in Maps Module marker
Sorry for the update. I see that in many other files where you call the maps api you add the "language=en".
And sometimes, in pages where i have more functions from vrestaurant (componente + module +search), i see that API is called twice or more times. Maybe if you call the API only one time or not call the second time if it si already in the page, could make vrestaurant more fast and clean.
Thank! Now url are correct!
I see another little bug about Google Maps Api used for this module.
In default.php the api key used for the call to the API is "declared" in a variable in mod_vrestaurant_restaurant_map.php and not read from the API used in Joomla Admin in the Vrestaurant configuration.
Another thing is about the Map language. In default.php in the link for maps api, the language is "forced" to "en". In this link the "language=en" could be removed so the maps takes the language from the browser.
Last improvement that i can see is about the "scroll" with mouse on the map. If the map is "above the fold" and with a 100% width (like a fullscreen map) i can't scroll down, because the mouse scroll act like a zoom in map.
I have made an override for my site adding "scrollwheel: false," in the default.php when you set the "mapOptions". I think could be nice to have this setting (scrollwheel as Zoom false/true) in the module configuration in Joomla
Thanks a lot Daniel!
Thanks Daniel! Only another thing, can you let us use a SEF link like the one generated by the router?
Now in map marker i see something like www.mysite.it/component/vrestaurant/rest...nt/myreastaurantname
If i see the link in restaurant list view i see www.mysite.it/mymenuvoice/restaurant/myreastaurantname, that is more correct. Thanks