Hi,David I try GoogleMap sample.It just a iframe with googlemap.That can only mark a point on map. But It cannot navigate us to that point. I try OpenWindow too.It's the same."Cannot Navigate" I think.If I want to navigate to that point,I need to sent latitude and lontitude to googlemapApp. But I don't know how. Can you advice me?
Honestly I am not an expert in the Google Maps Embed API, which is used in the "GoogleMaps" app sample. I don't know if such API allow us something like you wanted in the first time. In fact I can't understand very well what you wanted (for sure due to my bad english) since the maps show to us a "point", not based in the longitude and latitude, but in the place (point) name. If Google allow us to use longitude and latitude then we can use the Location control to get that information, and then update or set the IFrame URL to the appropiate one.
Take a look at the Launcher control and the LauncherCheck, LauncherStart and LauncherAction. Also take a look at the "Launcher" app sample and the "CordovaPlugins" app sample too. This second one show us how to use custom Cordova's plugins if needed.
Thanks tin. Apparently you are using a different plugin than the used by the Launcher control. But are you tried with the Launcher control? On the other hand, when you deal before with the "OpenWindow", are you checking the "Browser" Cordova's plugin in the app's options?
Anyway thanks for your offer. Feel free to use the Upload section of this forum or contact me in info (AT) davidesperalta (DOT) com.
Thanks tin. Apparently you are using a different plugin than the used by the Launcher control. But are you tried with the Launcher control? On the other hand, when you deal before with the "OpenWindow", are you checking the "Browser" Cordova's plugin in the app's options?
Anyway thanks for your offer. Feel free to use the Upload section of this forum or contact me in info (AT) davidesperalta (DOT) com.
I already try it,David.My Goal is to use App in Android and IOS.Then I choose to use plugin that will complete my goal.It make a choice that user can choose whatever they use android or IOS,David.Use that WindowOpen that code will work only android.(For IOS code need to change :D )
PS.Project will upload tomorrow.Need to rewrite for easy to other.
Just to inform that App Builder already includes various "Google Maps" samples, and, one of them, at least, shown how we can use the Location control in order to set the latitude and longitude in the map.
Remember than the Location control runs in all the platforms and browsers. Just look at the "GoogleMaps", "GoogleMaps2" and "GoogleMaps3" app samples and play a bit with them.
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.
Este sitio usa cookies sólo para guardar sus preferencias.