Hi,I'm currently implementing logic on custom tile layers via OpenLayers
function getTiles() {
var res = this.map.getResolution();
var x = Math.round((bounds.left - this.maxExtent.left) / (res * this.tileSize.w));
var y = Math.round((this.maxExtent.top - bounds.top) / (res * this.tileSize.h));
var z = this.map.getZoom();...
i know it's possible to add svg overlays to google maps. i'm wondering if you can use svg files as markers. i tried setting it just like you would a png or jpg file, but nothing shows up. let me know if i should post my code, but i think i am probably approaching it in the wrong way.
thanks.
...
Does anyone know how I can obtain latitude and longtitude from the Country Name using Google Maps API?
...
Hi all.
I am drawing some overlays on google map. If i move around the map too much, I get this error :
10-15 14:43:43.020: ERROR/dalvikvm-heap(299): 32768-byte external allocation too large for this process.
10-15 14:43:43.020: ERROR/GraphicsJNI(299): VM won't let us allocate 32768 bytes
10-15 14:43:43.260: ERROR/AndroidRuntime(299): ...
Hi
in a jsp file i am loading from disk an arraylist which holds coordinates of places. How can i create from this arraylist's elements (server side) markers in a google map (client side).
Thus, the question is how can i put the arraylist elements(coordinates) from the object that i load from disk (from previous app) into a javascript ...
So I have a map here
How can I, using Google Maps API, detect whether or not a given coordinate is within that polygon? Is that possible?
Thanks in advance.
...
Is there any way to remove the circular panning navigation control but keep the zoom control in the Google Maps V3 API? I've tried forcing it offscreen with jQuery but every time the map is updated it comes back. Any ideas? Thanks!
...
I'm attempting to build a web app and I've run into a bit of a wall. I'm not asking for anyone to hold my hand through making this, just some advice and a push in the right direction.
So, I'm trying to build an app that uses the Google Maps API to display a map of local parks near you and allow people to post pickup games (informal spor...
I'm building a site where my users will be able to specify locations (say, their residence, etc.). Then, I want to do 2 things to this information:
Plot these location on a mapping service (such as Google Map)
Allow users to search by location (e.g. find all users that live in or are in a certain radius from XYZ city)
The question I ...
Hello,
with google maps api v2 we can maximize the infowindow by specifying maxTitle property. Can anyone show me how we can maximize the infowindow with v3 of google map api.
Thanks
...
After I successfully created my first google maps in asp.net with this question http://stackoverflow.com/questions/3897781/google-maps-api-in-asp-net-masterpage-why-it-stays-blank
I now want to change the maps lat, long when clicking with Go button. For this I just need to pass a new x,y at startupsctipt to GoogleMaps js function.
fir...
Ihave problem with google maps.
1st i open Gmap like someone already click on point: "map.openInfoWindowHtml(point, xhtml);" - that's ok
2nd in var xhtml i put link to "Get Directions" - that's ok
3rd i want: if someone click on link in "InfoWindow" to open iframe with FancyB, just like someone visit "http://maps.google.com/" and write o...
Does Google provide non-minified / non-obfuscated versions of their various javascript API's?
For example, I'm using their LocalSearch control and getting a cryptic error "a is null". Setting a breakpoint in Firebug is not very helpful because I'm 3 levels deep in minified code.
...
How do I take Google map coordinates from the map and automatically populate another form element?
This is my form: http://www.barbadosphonebook.com/list-your-business-for-free/. At the bottom there is a Google map which, on-click, displays the coordinates. I would love it to also populate the element below with the coordinate data.
My...
Is it possible to write custom text on Google Maps API v3, next to marker? or i can use only info window to do that?
...
Can anyone help me understand why the following code does not display any content in the second alert? Browsing to the same url that I pass to getJSON() produces output in my browser window.
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
</head>
<body>
<script>
...
I am planning to display Maps in Web View of Nokia Qt SDK. Can I use Google Maps url to display maps and add annotations to certain locations. (Latitude and longitude)?
...
Dragging and dropping a marker on a Google Map inside a modal JQuery dialog isn't working properly using JQuery 1.4.3 and JQuery-UI 1.8.5.
The following snippet is reproducing the issue in Chrome 6.0 and Firefox 3.6.10 (but not Opera 10.63 which surprisingly doesn't have the problem), and this was working before upgrading JQuery (from...
hi,
i would like to find a javascript that displays a table, each row being an address. If a row is checked, a marker should be displayed on a google map underneath.
Any suggestion?
...
I need to implement on my php page map. I have container <div id="map"></div> which is inside other div, and I put this code inside <head> tag but it doesn't show at all. Can anybody help me?
<script type="text/javascript" src="javascript/jquery-1.4.3.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?s...