Can we create a user define custom base google map on which we can add our predefine landmark points?
Now in application we access google map with original information. Our GPS device returns location of current point with some description such as your vehicle is .. distance away from some xxx location.
So can we build to some user define google map on which we can add custom landmarks on google map, then we access that custom url to access google map.
You can create a customized google map page, with your own landmark points. You need to check out the Google Maps API Reference.
To create markers ('predefined landmark points') on the map you need to instantiate GMarker objects in Javascript using your latitude, longitude data.
Not quite clear on the last part of your question, but if you asking about linking to Google Maps at a particular latitude longitude, you can build a URL to do that:
http://maps.google.com.au/?ll=<latitude>,<longitude>&spn=<degrees high>,<degrees wide>
For example:
http://maps.google.com.au/?ll=-15.623037,18.388672&spn=65.61535,79.013672
Related
I have managed to create a google map in my flutter app and I am able to show my location and also markers using latitude and longitude. Does anyone know how to create a marker for a business which already exist in google map? What should I pass to the marker to identify a business which is already in google map??? Thanks
You can use a Place Search or Autocomplete service to find an existing business, and then pass the lat/lng coordinates you get from the results, in geometry.location, to a marker's position so that the marker is placed on that business' location, as demonstrated in those linked examples.
Hope this helps!
My requirement is, I have a set up of few IP cameras in a certain area. I have geo-location of each camera.All cameras are set-up in urban area. can I call these cameras on google-maps? is there any API for that ? i should get live feed, when I click on a particular camera .. Please help me
Google map not providing any API for controlling any type of hardware devices. If you want to control you have to set up everything yourself. Google map is an API for doing map or location operations like getting the latitude and longitude of a location, get the distance from one location to another, and a map view. In your case I don't think Google map can give any help.
You can start reading documentation of Google map from here
I created webform with the field location as textbox and map as geofield. I want to pass location value to map field and then according to location it will show the map.
Means Map will take the input as location field value.
Can anyone suggest suitable option to do so?
Would the gmap module help you?
https://drupal.org/project/gmap
As described:
The GMap module provides an interface to the Google Maps API within Drupal. It integrates with the Location module to provide users a clickable map for entering latitude and longitude, as well as to display maps of Drupal nodes and users. GMap can be used to create interactive maps with various map markers and content in map bubbles, taking advantage of Drupal's other content management features. The module also provides a Views display plugin which allows users to display the results of a view on a Google map.
I am trying to develop website that shows all the major landmarks on a rout from source to destination using google map.
I have saved those major landmarks GPS coordinates in my database.
But, I do not know how can I search my saved GPS coordinates and find out which of them are on the rout shown by google map.
You may create a polyline from the path of the route(may be e.g. retrieved via route.overview_path) and then use the method google.maps.geometry.poly.isLocationOnEdge() of the geometry-library to check the landmark-coordinates against the polyline.
If one puts in an address or set of coordinates into Google Maps (the web interface), it will create a set of one or more markers representing your search results on the map. You can click these markers to show an information callout that has data such as the phone number or reviews of the place.
I'd like to emulate this feature in a map on a web page I am building using Google Maps V3. I have successfully created a marker with custom icon and invoked an InfoWindow but I have to specify the content myself. Is there a way I can get the InfoWindow content for that street address/place as you would if you used Google Maps directly? I've seen a few references to the Google Places API, but I would have to extract and style the information myself which would require more time than I have in my budget. Is this the only way?
Thanks,
Steve
You need to do some reverse geocoding
http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding
Here is an example:
http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/io-2010-bootcamp/v3-reverse-geocode.html?r=204