Hi,
I'm trying to set bounds where you can drag the map using Google Maps API V3
Here is the solution for V2 http://econym.org.uk/gmap/example_range.htm that works pretty well.
However with API V3 it isn't so good: when you use the same checkbounds() function, the map is twitching when you reach the bound while map.setCenter() changes ...
hello,
starting point is example showed on next link:
http://gmaps-samples-v3.googlecode.com/svn/trunk/sidebar/random-markers.html
i added new (second) div panel, and i would like that when end user clicks on one of items showed on left panel, it shows more information about it on new div panel.
so, how can i "read" on which item end...
Hi,
After upgrade my complete code i had here the most currents tips to upgrade your code.
Add other if you like.
Use : new google.maps. in place of G...
- GLatLngBounds() --> google.maps.LatLngBounds();
- GlatLng --> google.maps.LatLng
- GPoint --> google.maps.Point
- Event.addListener --> google.maps.event.addListener
- map.getInfoW...
Google mapview does not load the actual maps in the emulator, just the grid. My overlays are displayed ok. sdk version 2.2. It works fine in a real phone. I use a debug key and trippel checked the manifest. It has been working in earlier projects. I just cant figure it out.. Any ideas, what to check?
...
I have been trying to plot markers on google map at multilple location on mouse click. After plotting markers, I want to draw a polyline between connecting two markers. A log is also provided which show the coordinates of the markers plotted and the line drawn at points between them.
The problem with the code is I am unable to plot the...
I've tried to open Google Map application on iphone & android. From iPhone developer reference website I am able to open the native google map from link.
http://maps.google.com/maps?ll=11.5558762589,104.921697935&z=15
However, I have trouble with adding a marker into the map. As in google static map, we can add markers into map. I ...
I have a website with around half a million geocoded locations in a database. I want people to be able to search for these via a map. Obviously, that's far too many for a standard Google (or, for that matter, Bing) map display, even when using something like MarkerClusterer.
What I want to do, therefore, is dynamically load the map data...
Hi,
I am trying to use the Google Elevation API with the getJSON function of JQuery.
I am using this code which is using JSONP :
jQuery.getJSON("http://maps.googleapis.com/maps/api/elevation/json?locations=23.444,45.4545&sensor=false&jsoncallback=?", function(json){
alert("a");
});
I can see in Firebug that the GET reque...
Hi,
I have setup my app to launch Google maps to a set location using the code below, but the map displays zoomed full and you cant see any roads you have to zoom out manually to see anything. How can I set the zoom level with the code below I've tried setZoom(16); but this has no effect.
if (mapnav == 10) {
String uri = "g...
Hi, map seems to load fine, i can see maps, and also i can see the mark of mexico that the expample gives you
but... when i click on the MEXICO mark, my application crash, with the common message of android application crash
i think that i know the problem, but i dont know how to solve it:
in step 7, tuto says this:
Now set up the ab...
Hi Everyone,
What I want to do: I want to setup some routes overlay on google map in android !
What I have done so far: I have parsed the file (geo points) and have them ! I am using asynctask. My overlay class has a custom draw method. I have used destroyDrawingCache () in my draw function.
Problems I faced: While running the app, it...
Is there any possibility to highlight a street using the Google Maps API? I want to set a color on a street, similar as it is done in the navigation function of Google Maps.
If there is no generic implementation for this - and I guess there probably isn't - is there any good/simple solution for this? The only thing I could think of was ...
I want to display googlemap location details in a info window and a button inside the infowindow, so that after clicking that button, a new QMainwindow will display.
At this point of time I am only able to show the default infowindow with close button.
Is it possible to add a clickable event inside the infowindow.
...
I am about to start designing a store locator for a business. I had a few questions on the best route to take. The main questions are located in bold.
There will be two columns, 1 with the map itself and 1 with the list of all stores currently located in the view of the map. I am hoping to have the google map to be loaded zoomed onto a ...
Given a set of GPS coordinates, I need to plot them using Google maps and draw a line from each one to the next. It would be optimal if I could show directionality, but that's not absolutely necessary as long as I can indicate the start point.
There will be more than two points -- the number of points requested will vary, so I guess I ...
In android, is it possible that I would create my own Map figure, and then use this Map with the gps location from Google Map API
Example, I draw a map for my own house, then apply Google Map API to be able to make the location of each point in the map
...
I am creating an extension of ItemizedOverlay. When a user taps a pin on the map (onTap) I want to display a RelativeLayout, which is included in the same .xml file as the map. When the RelativeLayout is visable, it covers the map.
Since this view is the context for the main class, I do not know how to access the view (DetailLayout) fr...
I am using google maps API V3 to create a styled map where I am using custom colors. I am wondering if it is possible to use the satellite image of the water while using a custom style on the land. I.e. I'd like the water to be the satellite image while the land will be a custom solid color. Right now I can give the land and the water ...
Hey,
I succeeded in getting a google static map displaying a path between 2 coordinates.
The problem is that the drawn path is just a straight line between the 2 points.
I read that to be able to draw the "route" between 2 points on a static google map, as in, following the roads and city geography instead of the straight line, I need...
I have a spreadsheet that contains address data (among others) and which the customers want to be able to display on his website as a Google Maps.
Implementation of a Google Map using a Google Spreadsheet as data source is well documented. However in this particular case the customer wants to keep the spreadsheet private - i.e. nobody s...