google-maps

Making AJAX requests when a Map is changed by the user with the Google Maps Javascript API

I'm building a website with ASP.NET MVC where one feature displays some points on a Google map, using the Google Maps Javascript API. As I have a lot of points, I don't want to fetch them all; rather, I want to get only the ones that are in the current view area that the user is looking at on the map (the bounding box). To do that, I wi...

How can i toggle google maps markers?

Hey guys. Is there a way of quickly show/hide of google maps markers? I don't want to remove/re-add every time, because I basically need to display them only on mouseover and hide on mouseout. I tried with marker.hide() But I kinda get an ugly error because it seems that hide is available on gmaps2 but not on gmaps3 api. Thanks!...

Help me understand how google maps show images ?

With firebugs net tab open i stated zooming in and out of google map and i found its making requests for the png images. Ok with this i understood that we can request the images using the Ajax. but wait ? i always used to request html, jsox, txt and xml. Image ........ its strange for me ? Can some one please elaborate on this ? Also i...

Function "is not defined"

Hi I have this code <script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt; <script type="text/javascript"> google.load("maps", "3", {other_params:"sensor=false"}); google.load("jquery", "1.3.2"); google.load("visualization", "1", {packages: ["columnchart"]}); ...

developing location/map based web site

Hi, I wanna start developing a map-based web site. At first I ordered a regulat Gps device just to test the site, later on I would like to use Iphone's gps and other cell devices. So I need something pretty generic. I searched the web for map-based development framework and come up with too many of them : Geo server, Map server, Open l...

Binding class method to event in google maps v3?

In V2 of the Google Maps API, you could bind map events to a class method using the GEvent.bind function: GEvent.bind(this.drag_marker, "dragstart", this, this.start_dragging_route); In the example above pretend that's a link from a prototype.init function, where start_dragging_route is a method inside the class. It appears that the ...

in Google maps javascript click function is not working

Hi Everybody, My very first question in here. I am building a google maps by getting the data from json object given from external php file, in there It gets me the list of restaurants (in this case 4 restaurants) and their info, and with this info I build the markers on the map and then show the list of restaurants, and when I click th...

Google map reset all InfoWindow ?

Hi I have this code function initialize() { var myLatlng = new google.maps.LatLng(xx.xx, xx.xx); var myOptions = { zoom: 11, center: myLatlng, scaleControl: true, scrollwheel: true, disableDoubleClickZoom: false, mapTypeId: google.maps.MapTypeId.TERRAIN } var map = new go...

c# application will not run on any machine except box it was developed on

I am new to development. I followed step by step instructions from http://code.google.com/apis/maps/articles/flashmapinwpf.html to host google maps in a wpf application using c#. The program will compile and run in the IDE and also my windows environment. The same executable files will not run on any other machine I have tested it on. ...

How to calculate distance between two GeoPoints with Android MapView

I want to know the distance of two points or the width and height distance of my current mapview in km unit. Is there any android map api to do that? ...

Can I provide addresses instead of latitude and longitude to Google Maps?

Hi, I'm building an application where users provide the addresses for their listings. It's certainly not practical to ask a simple user to provide the latitude and longitude for each address he provides! Can I provide addresses to Google Maps API instead? If so, how? Thanks. ...

Google map dont show when the message contains " I'm "

I'm working on mashup project on twitter with Google map but when tweet message contain word " I'm " , the google map will not appear on the page Is there any idea about that , Thanks ...

Can I use the Google Maps API to display a custom map?

And by custom map I mean custom map tiles, as in, mapping another planet. I've looked all around but can't see to find any resources pointing how to do this on Google's or any website. I know it's possible because I've seen it done before on a website, but unfortunately the website that has the link to THAT site is down so I can't get t...

Equivalent of com.google.android.maps.ItemizedOverlay.populate() for OpenStreeMaps (OSMDroid)

Any idea what's the equivalent of com.google.android.maps.ItemizedOverlay.populate() method in case of OpenSteeMapViewItemizedOverlay ? ...

How to get the center of a polygon in google maps v3?

It doesn't need to be 100% correct, it can be the center of the bounding rectangle. Thank you in advance ...

javascript arrays on gmaps

hi everbody, i'm newbie in javascript so, in this example exists the geometrycontrols.js (for global controls) and markercontrol.js (for marker controls) my problem is identify the arrays where "data" is saved... at the reference i see a savedata function but i have no idea how work with this function... on the other side, in test.h...

iphone, uiwebview with JS (google maps API)

Hi all, two question for you: reading google documentation i've make an html with the JS for make a google maps api call. I've put this file in my project, and in a TABView i read and render this file in a uiwebview. Works great but every time i start my app and go to this view i got this message: "appleweb://someID want to use your cur...

Google maps perfomance with polylines and markers

We are on decision point - which technology will be used for our highly loaded flight deals map. There is simple test - http://buruki.com/gmap but if i choose London or Moscow( they have ~200-300 flights destinations) most of browsers( firefox 3.5 and IE for sure :-) ) are extremely slow. Now there are simple markers and simple polyline...

What is the best way to calculate distance on earth with 2 coordinates in meters in MYSQL?

I have got 2 sets google maps geo coordinates. Like 51.2, 6.1 and 50.3 and 5.5. How do i calculate the distance between those 2 coordinates in meters with mysql? I'm looking for the geo calculation, with earth radius and stuff. What is the best way to do this? ...

Marker off-set on Google Map API v3

Hi - I've created a simple map with custom PNG markers. Is it possible to offset the attached PNG image? There does not seem to be any mention of an 'offset' in the v3 API documentation. ...