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...
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!...
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...
Hi
I have this code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("maps", "3", {other_params:"sensor=false"});
google.load("jquery", "1.3.2");
google.load("visualization", "1", {packages: ["columnchart"]});
...
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...
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 ...
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...
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...
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.
...
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?
...
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.
...
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
...
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...
Any idea what's the equivalent of com.google.android.maps.ItemizedOverlay.populate() method in case of OpenSteeMapViewItemizedOverlay ?
...
It doesn't need to be 100% correct, it can be the center of the bounding rectangle.
Thank you in advance
...
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...
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...
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...
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?
...
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.
...