Googlemap not working
When I use a standard GoogleMap UI item, even without any code I get a "preview not available" and then my mobile page is automatically redirected to the appery site.
What is wrong here?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
When I use a standard GoogleMap UI item, even without any code I get a "preview not available" and then my mobile page is automatically redirected to the appery site.
What is wrong here?
Could you please clarify what do you mean "use a standard GoogleMap UI item". Do you just drag'n'drop GoogleMap component to a page and get this error on preview, or do you add some JS code?
I have a page where I dynamically create links "< a h ref="www.tiggzi.com" ... maps< / a".
But the onclick event is intercepted by javascript, in which I do a Tiggzi.navigate('googlemapsPage').
But apparently then the googlemapsPage is shown with the googlemap on it, but after 1 second being redirected to www.tiggzi.com.
I solved it now by replacing the href with href="#" and now the map is showing and the page is not redirecting.
However, there is 1 marker on the googlemap (on the address specified in the address field of the googlemap). But I cannot select it, or calculate a route, etc. The streetview is working.
For navigating to a page use
Appery.navigateTo('pageName', {
reverse: false
});
For "select it, or calculate a route, etc" you should use Google Maps JavaScript API. see https://developers.google.com/maps/do...
Thank you.