google-maps

Can I use the Google Streeview API with my own images?

Title pretty much says it all. I want to use streeview for an area not on google maps, so could I add my own roads and then add my own panoramic images for streetview? It's also for personal use, obviously I'm not asking to modify googles actual map. I'd be happy to use an alternative to streeview too, as long as it does the same thin...

Problem with draw() on a MapView ItemizedOverlay

Hi, I am developing an application for the Parisian Metro. One of the functions is a map where you can click the metro stations and see what are the metro lines, and when are the next 4 trains on this station. I have hence created a MapActivity and an ItemizedOverlay classes. On my device it is working perfectly, but I am getting some...

Problem with the google map Markers

My google maps API code is not doing the map markers correctly. For some odd reason it will throw the map marker on there but not in the correct spot at all. Its longitude seems to be correct but the latitude doesnt seem to be there. It just seems to throw the marker on the edge of the map. Also when you click on them instead of showing ...

highlight neighbourhood in google map?

Hello All, i m implementing Google map api in PHP website, i have to implement an application in which if user enter some area( specific ) then we have to highlight all neighbourhood's boundries of this area with different colors. how do i implement this??? i have read this link , this helps me a lot, but i need to highligh...

google map api with AJAX call doesn't work

HELP!! following code doesn't work! why? <html> <head> <script type="text/javascript"> function loadXMLDoc() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari alert("aa"); xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new Activ...

Map Visualizations

We are looking for a great looking map visualization to plot transaction as we process them. We get inbound messages from all over the united states (latitude, longitude). We currently have a Google Maps solution in place, but it just doesn't have the visual impact we are looking for. We really like how this map looks: http://leftronic....

Gmap : retrieve marker inside direction?

I try to find how to get marker inside direction that user point in Google map Suppose that User start at point A to point B and inside my Database has marker of Shopping store how could we know that Shopping store is in direction from A to B or not if yes then show marker of store on the map Any suggestion to do that, Thank you ...

How many requests can be made to google maps api without ban?

I'm using a autosuggestion for adresses through google maps API that I want to be as fast as possible. Currently, I have added a 10ms delay to my script in order to avoid being banned for to many requests, is this necessary. How many requests can be made without getting banned? Ps, i'd love some appropriate tags for this, I really can'...

Javascript closure not working with google maps V3

Hello People Would somebody please advise me as to what I'm doing wrong with this piece of code? I am currently using a simple JSON file to provide data for info windows using the Google maps V3 API. I am aware of the concept of closures but cannot seem to understand why the info windows are still displaying the last result on click. ...

Adding Google Maps (API V3) support to a Ruby on Rails app

Hi there, I'm searching for a good solution for integrating google maps into a ruby on rails 2.3 app. I know there's a project called ym4r but it seems old and not so maintained. Should I use directly the Google API itself? Thanks! ...

Visualizing large quantities of data on google maps / visualizations

Hi - I have a json file thats roughly 480mb of geolocation points. I was wondering if someone knows of a good 'pattern' to use when trying to visualise the data. The problem I'm encountering is that the data has to be loaded into Google maps from the get go. This is causing all kinds of obvious issues. I don't have to do this through...

Programmatically click on marker and map

I want to click on a marker and map programmatically, in Google Maps. How can I do this? ...

Switching from activity to MapActivity

Button showmapButton = (Button)findViewById(R.id.showmap); showmapButton.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent intent = new Intent(HomePage.this, ShowMap.class); intent.putExtra("username", value); startActivity(intent); } }); In my main menu i have...

Google maps - Near positions

On my website members are tagging photo position on Google maps API. Longitude and latitude are saved in database (SQL). Does anyone know how to find tagged photos that are in radius 100km of tagged photo? Let say that latitude and longitude are 46.03765154061627 | 14.5404052734375. Is there any kind of math formula that would check 1...

How do I hide and then reveal a map canvas using Google Maps 3?

I'd like to render a Google Maps canvas to a hidden div and then, when an event is triggered elsewhere on the page, make the div visible again. Unfortunately, when I try styling the div with "display:none" and then later displaying it, I get just a gray box where the map would be. If I eliminate the display:none tag and the showing log...

Google Maps - red dots?

How do I implement the red dots as seen on the Google Map linked below: Red Dots UPDATE I'm using Google Maps version 3 (not 2) UPDATE 2 I found the following Presentation by Google talking about what I want to do. docs.google.com/present/view?pli=1&id=dggjrx3s_153hdf2s6cm It's slide 27, called "Tiny Clickable Markers". However, t...

Google Maps Maptype active state.

Im trying to implement an active state for the maptype styles I created. The "map" maptype works because It is the default map to load but when I click through the others, they do not change. It is setup like this: var typeMap = document.createElement("div"); container.appendChild(typeMap); var elem = document.createElement("img")...

How can I fix style problems with a google map's info window?

By default, a Google Map infowindow has really nasty style, such that the inner content overlaps the close button when a scrollbar is present: Google, by their infinite wisdom, don't do anything as nice as using classes on their elements, so that makes styling the info window very difficult. Does anyone know how I can fix this overlap...

How to resize markers based on zoom level in Google Maps API2?

I'm trying to resize markers based on zoom level in Google Maps API 2. I tried with this code and it's not working: tinyIcon.iconSize = new GSize(30, 30); GEvent.addListener(map, "zoomend", function() { var zoom = map.getZoom(); if (zoom > 10) { tinyIcon.iconSize = new GSize(50, 50); } else { tinyIcon.i...

Google maps, highlighting a div when corresponding pin is hovered

First let me start by saying i'm using a modified version of http://econym.org.uk/gmap/example_hoverchange75.htm With that said, the hovering of items in the sidebar highlighting pins works fine, however I need it to do the reverse also. I've tried adding different variants of document.getElementById("item"+i).style.background ="#F00"...