You can use this approach to embed a static image:
https://developers.google.com/maps/do...
You can place markers and can also specify the location with latitude/longitude values.
You can use this approach to embed a static image:
https://developers.google.com/maps/do...
You can place markers and can also specify the location with latitude/longitude values.
To create a response, it has to a text-based response JSON or XML. I'm not sure I understand why you are trying to show a map via a REST service. Why not just put the link on a page directly?
ohk i think its high time now , i will explain my App
Screen 1 - has a search button and an input field if u enter 'clothing' and press search button invokes rest service and populates all the store locations and address and the service returns lat long values also and a google map link also, all i am worried is if i click each list item which has Store name, address, zip it must open the screen 2 with a map and a marker on the specific location and difficulties 1 . how to store all the lat , long values in arrays in local storage or
i saved this link in a local storage variable, http://maps.google.com/maps?q=39.0306... so i just need to know how to navigate to this link and display the map with marker on screen2.
I hope i am clear . please reply.
To navigate to any page, add a click event to a component (button, for example) and then Navigate To Page action.
unfortunately, the Rest service which i am using populates lat long of all the locations and maps.google.com/maps?q=, but unfortunately i do not have a way to pass them and display on the map with markers. I have gone through all the funcitonal aspects of the tool. If u want i will add all the screen shots one last time as i started hand coding. Tool ate my time so please respond.
fortunately * The rest service
Once you get data from a service, you can save the data into local storage. That data is then available on any page. You can read the data from local storage, and by using Google Map API create any number of markers and place them on the map.
Tiggzi is an an app builder, or IDE running in the cloud (think along the lines of Eclipse, NetBeans, etc). There is just no magic feature that will automatically add all locations to the map. You need to use Google Map API and code -- the part where markers are added to the map.
Google geolocation has a parameter called latlng
but i want to know the javascript code to store lat and lng in that parameter!
I'm not sure I understand what exactly you want to store, but to help you, you should read Google Map API docs.