wser bugs. Please file an issue on the issue
> tracker: http://code.google.com/p/gmaps-api-issues/issues/list
>
> On Friday, November 9, 2012 11:14:54 PM UTC+11, Martin™ wrote:
>>
>> It looks as though the Google Maps API has a bug when viewed in an
>> android ICS browser.
&
It looks as though the Google Maps API has a bug when viewed in an
android ICS browser.
I've tried a few maps now and find that the stock android ICS browser
(and SDK WebView) fail to properly render the pegman when dragged onto
the map.
Take a look at this screengrab: http://i.imgur.com/qWzqR.jpg
ou Martin for your valuable investigation. One concern, ask what I
> tried/observed is polylines are straight lines connecting markers, but they
> won't follow the road as direction service do.
>
>
>
>
>
>
>
> On Thursday, April 12, 2012 11:38:03 AM UTC+5:30, Mart
Look at the source code for the ContextMenu example.
google.maps.event.addListener(map, 'rightclick', function(mouseEvent){
contextMenu.show(mouseEvent.latLng);
});
It's activated by a right click on the Map, a right click on a
Polyline is NOT detected.
Now look at the documentation for
You are not limited to Google's own MapView, there are third party
Android libraries too:
http://wiki.openstreetmap.org/wiki/Android
It seems that Google treat Android MapView updates as a very low
priority, see this thread:
https://groups.google.com/group/android-developers/browse_frm/thread/fa
Hi.
Here's a thread that may be of interest:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/25a3f290cdf0fa5e/177ccbe971def087?hl=en&lnk=gst
Martin.
On Feb 10, 9:59 pm, Lewis Diamond wrote:
> Hi all,
> I have a custom overlayMapType which will add markers from inside t
If performance is important then i'm sure you'll find a custom overlay
map type to be better than client side polyline or polygon rendering.
Here's the reference page:
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#OverlayMapTypes
I daresay that creating a PHP script tha
Let me add that i am using 64bit Windows 7 here.
Martin.
On Jan 26, 11:03 am, David wrote:
> Hi,
>
> Just to share my experience: I have also been experiencing slow performance
> problems with Chrome when refreshing the custom map tiles of the page
> posted by Martin.
> I am running the last ver
Hi Enoch.
I don't want want to hijack this thread but you might want to take a
look at this map:
http://code.martinpearman.co.uk/deleteme/my_overlay_map/
It's an overlay map types that refreshes every 10 seconds.
Originally it refreshed itself smoothly in all browsers but recently
someone point
Are you experiencing this with Chrome only by any chance?
I've recently seen Chrome rendering custom maps very slowly but other
browsers render the same custom maps perfectly.
The same custom maps previously (not sure how long ago) worked fine
with Chrome.
Martin.
On Jan 25, 10:33 am, NoRyb wr
Could you listen for the Map 'zoom_changed' event.
If the map is zoomed to 21 or more then change to your custom map, if
zoom changes to less than 21 display the satellite map type.
Martin.
On Jan 19, 3:43 pm, NoRyb wrote:
> Hello!
>
> I would like to change the zoomMax-Property of a built-in
The only thing i can see that would work would be to use a solution
similar to that which i posted in post #4 of the thread i linked to
previously:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/25a3f290cdf0fa5e/34d32ac679be539c?hl=en&lnk=gst
Add a bogus parameter to your
Here's a thread that may prove useful:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/25a3f290cdf0fa5e/34d32ac679be539c?hl=en&lnk=gst
Martin.
On Jan 19, 12:19 pm, NoRyb wrote:
> Hello! I would like to know if it's possible to "refresh" or "update" a
> MapType. I'm usin
Hi.
Could you add an API event listener for the Map 'mousemove' event:
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
google.maps.event.addListener(myMap, 'mousemove', function(mouseEvent)
{
lastMousePosition=mouseEvent.latLng;
});
lastMousePosition would have to
Or create a custom overlay:
http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays
Martin.
On Jan 15, 10:41 pm, xelawho wrote:
> > Any advice?
>
> have you looked at
> labels?http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerw...
--
You rece
Hi.
Use a Marker with a custom icon (your arrow image):
http://www.svennerberg.com/2009/07/google-maps-api-3-markers/
Martin.
On Jan 13, 7:18 pm, "bstaros...@koptevo.net"
wrote:
> I need to put arrow on the map - for example, to show military strike
> direction.
>
> In theory, I can paint it
I have already reported this as a bug:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3738
Looks like my report has been ignored!
Μartin.
On Jan 10, 6:32 pm, kronus wrote:
> Hi guys and thanks for being here to help us.
>
> Here's the app that I am working on
> --http://kronuspro
Here's a tutorial showing how to use your own images as custom icons:
http://www.svennerberg.com/2009/07/google-maps-api-3-markers/
Martin.
On Jan 2, 2:22 pm, roy lao wrote:
> Dear all,
>
> I am creating a map with a lot of data posted on it, wondering if it is
> possible to shrink down the go
Maybe you've inadvertently disabled the newer canvas Markers and are
getting the older DOM markers...?
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/ac0d90c91ecec6a0/61a9540092badcf8?hl=en&lnk=gst
Martin.
On Dec 9, 8:53 am, angelcr wrote:
> Hello,
>
> I am moving exis
Hi.
Take a look at the 'ContextMenu' library i created:
http://code.martinpearman.co.uk/googlemapsapi/contextmenu/
http://code.martinpearman.co.uk/googlemapsapi/contextmenu/1.0/docs/
And the advanced demo map:
http://code.martinpearman.co.uk/googlemapsapi/contextmenu/1.0/examples/advanced_exam
Hi.
Ideally the API would give us an option to select whether Overlays
consume the mousemove event.
Maybe one of us should start a feature request?
Martin.
On Nov 30, 11:48 am, Nianwei Liu wrote:
> It's not unusual that the app may require the overlay clickable AND
> map mousemove event avai
Hi.
I reported much the same a month or so back:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/98cd2607d15cc805/3f6725964190a6a0?hl=en&lnk=gst&q=martin+event+consume#3f6725964190a6a0
Martin.
On Nov 29, 9:24 pm, Nianwei Liu wrote:
> This is rather unexpected for the AP
You could try my ContextMenu:
http://code.martinpearman.co.uk/googlemapsapi/contextmenu/1.0/examples/advanced_example.htm
Let the user choose a location with a right-click, add a draggable
Marker to the location and the user can fine tune the location by
dragging the Marker.
Documentation can be
Hi.
It might be that the 'domready' event fires BEFORE your next line of
code which adds an event listener for that event.
(The event happens before you listen for it).
Try adding the domready event listener before opening the InfoBubble:
var infoWindow = new InfoBubble({content: request.respons
Hi.
Look at the syntax of the window open method:
http://www.w3schools.com/jsref/met_win_open.asp
Have you experimented with the 'name' attribute to see if you can get
the behaviour you desire?
Martin.
On Nov 22, 7:00 am, Roger Ertesvag wrote:
> Marcelo,
> while windows.open may not be cross
Hi all.
I've recently had to develop a context menu for a Google Maps API v3
map and decided that i'd share it with you all.
I searched and found no v3 context menu so hope this will be useful to
others.
Main project page:
http://code.martinpearman.co.uk/googlemapsapi/contextmenu/
Advanced exa
Hi.
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
Add an event listener listening for the Map 'bounds_changed' event.
Martin.
On Nov 16, 8:38 am, biao li wrote:
> In the API I didn't find the corresponding function
--
You received this message because you are s
Hi.
I don't have a solution but this issue was reported just over a week
back, see this thread:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/27def24e7007f8cc?hl=en#
Martin.
On Nov 16, 7:24 am, mx wrote:
> Using IE7 or IE8 take a look at:
>
> http://stores.petsmart.c
Hi all.
The first click on a text link in the text based directions panel
fails to correctly pan and zoom the map and open the infowindow.
More details here:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3738
Martin.
--
You received this message because you are subscribed to the
like a 0.5
> opacity overlay of Roadmap, I get this:
>
> http://dl.dropbox.com/u/48944369/moon.html
>
> Clicking Map/Moon seems to sort of do what I expect, (i.e. moon tiles
> overlaid on Google's render of the earth) but this appears to be due
> to a bug, not a fe
Hi again.
Look at the documentation for ImageMapType:
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#ImageMapTypes
See that you create your ImageMapType and then insert it into the
Map's overlayMapTypes array.
That's different to creating a StyledMapType.
If you want a
l="nofollow" href="http://foo.com/foo.png"">http://foo.com/foo.png"</a>;;
> },
> tileSize: new google.maps.Size(256, 256),
> name: "Hip-Hop"
> };
>
> var jayzMapType = new google.maps.ImageMapType(st
Is this an API or a CSS question?
Sounds like you want to brush up on your CSS to me, here's a useful
link:
http://www.barelyfitz.com/screencast/html-training/css/positioning/
Martin.
On Nov 8, 4:26 pm, munji wrote:
> By default every time i load my map, it always aligns itself to the
> left
Hi.
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#ImageMapTypes
Looks like you've not defined a (required) 'tileSize' property in your
options.
Martin.
On Nov 9, 6:20 am, Map Guy wrote:
> Starting with this example:
>
> http://code.google.com/apis/maps/documentation/
I see the same behaviour with the latest Firefox on Window 7 64 bit.
There's an old issue here:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1605&can=1&q=apitype%3AJavascript3%20firefox%20scroll&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars
That's mar
Or is a CustomControl what is required?
http://code.google.com/apis/maps/documentation/javascript/controls.html#CustomControls
Martin.
On Nov 4, 1:34 pm, JD Gauchat wrote:
> If what you want is to put the map inside a div and then have other divs
> shown over it you have to use these CSS prope
Hi.
Try updating your code so it knows how many markers have been created
and sets the map bounds based on that:
[code]
var visibleMarkersCount=0;
for (var i = 0; i < markerNodes.length; i++) {
var id = markerNodes[i].getAttribute("property_id");
var city_id = markerNodes[i].getAt
And some more listed here:
http://www.visual-case.it/cgi-bin/vc/GMapsIcons.pl
Martin.
On Oct 28, 7:01 am, jufemaiz wrote:
> Not sure about the official maps (unofficial listing
> athttp://mapki.com/wiki/Available_Images) , but there *is*
> alsohttp://mapicons.nicolasmollet.com/
--
You rece
Hi.
Try something like this...
Create a global variable:
var lastMapCenter;
Add an event listener to your map, listen for the 'center_changed'
event:
google.maps.event.addListener(g_map, 'center_changed', function(){
// save the map center
lastMapCenter=g_map.getCenter();
});
Now listen fo
> "clickable" (default true) means that the overlay (marker, polygon,
> polyline) captures all mouse events.
>
> I'll raise this issue with the team.
>
> Thanks,
> Chris
>
> --http://twitter.com/broady
>
>
>
>
>
>
>
> On Sun, Oct 16, 2011 at
Hi.
This will get the tile that myLatLng is on:
var zoom=myMap.getZoom();
var worldPoint=myMap.getProjection().fromLatLngToPoint(myLatLng);
var pixelPoint=new google.maps.Point(parseInt(worldPoint.x*Math.pow(2,
zoom)), parseInt(worldPoint.y*Math.pow(2, zoom)));
var tileX=parseInt(pixelPoint.x/25
Firebug finds the error straight away!
mymap.map is undefined
https://gusev.pro/test.html
Line 66
I guess you want:
mymap.fitBounds( bounds );
Martin.
On Oct 21, 9:21 pm, Vladimir wrote:
> Hello,
>
> i'm using v3, loading it async, creating the map object, then markers
> and paths work ok, b
Also, have you specified a no-cache or no-store HTTP header in your
> tileserver.php?
>
> On Oct 20, 8:02 pm, Martin™ wrote:
>
>
>
>
>
>
>
> > Just to keep this thread updated we have got my code working.
>
> > The MyOverlayMap code i posted before this threa
ts
> methods using the constructor prototype instead of nesting the methods
> inside the constructor. That's fine - both approaches are reasonable. But
> when you converted the code to use the prototype, you made the 'tiles'
> variable a global. Not good - if you ever had
Hi.
Try loading the Google API script before your map.js script:
http://maps.google.com/maps/api/
js?&sensor=true">
If map.js executes before the Google API is loaded then all the API
methods will be undefined.
Martin.
On Oct 20, 8:14 am, kennyhp wrot
David.
You'll have to let me have a look at your map code i'm sure to enable
me to help debugging it.
Email me a link if you can and you want to keep the URL out of this
thread.
Otherwise i'd suggest Firefox and Firebug.
Choose the Net tab then the Images sub tab.
Look for any requests being mad
};
img.src = tileUrl;
}
};
MyOverlayMap.prototype.releaseTile = function (tile) {
delete this.loadedTiles[tile.tileId];
tile = null;
};
[/code]
Martin.
On Oct 20, 5:45 am, Martin™ wrote:
> Hi again.
>
> I think you need to abandon the old meth
Hi again.
I think you need to abandon the old method - removing the overlay map
type and re-adding it to the map.
You will always get a flicker with that method i believe.
Try this for a basic overlay map:
[code]
function MyOverlayMap(tileSize) {
this.loadedTiles = {};
this.tileS
However, the problem is that there is a bit of flashing when removing
> and adding the tiles. I guess it is not possible to completely avoid
> that, right ?
>
> On Oct 18, 3:49 pm, Martin™ wrote:
>
>
>
>
>
>
>
> > Hi.
>
> > Have you tri
Hi.
Have you tried simply removing your overlay map and then re-adding it?
map.overlayMapTypes.removeAt(0);
map.overlayMapTypes.setAt(0,overlayMap);
You'll still have to watch for problems with the browser caching
tiles, but if you add a bogus parameter to each tile URL then it
should force a re
Hi.
Try:
myRadiusWidget.set('distance', the_input_value)
Where myRadiusWidget is the instance of RadiusWidget that you have
created - and kept a reference to.
Martin.
On Oct 18, 4:41 am, finco wrote:
> I've built a map where a circle can be resized by dragging the edge. It is
> based on Luk
verlay (marker, polygon,
> polyline) captures all mouse events.
>
> I'll raise this issue with the team.
>
> Thanks,
> Chris
>
> --http://twitter.com/broady
>
>
>
>
>
>
>
> On Sun, Oct 16, 2011 at 5:25 PM, Martin™ wrote:
> > Hi All.
>
Hi uno.
Version 3 of the API has made marker click event delegation somewhat
impossible (or tricky).
The Map click event doesn't fire when the user clicks on the Map while
(also) clicking on a Marker.
So, tradionally you cannot assign a single event listener to the Map
to handle ALL Marker click
Hi All.
I've started a new thread for this subject - it follows on from this
recent thread about MarkerImage and optimised Markers:
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/ac0d90c91ecec6a0/51a0cc033dba3866?hl=en#51a0cc033dba3866
I've run into a problem with optimi
ot;geocode...@gmail.com"
wrote:
> On Oct 14, 1:12 am, Martin™ wrote:
>
> > I agree.
>
> > I tend to use the full MarkerImage constructor and have been
> > specifying a scaled size equal to the original icon size.
> > This means i've unknowingingly be
I agree.
I tend to use the full MarkerImage constructor and have been
specifying a scaled size equal to the original icon size.
This means i've unknowingingly been disabling any canvas optimisations
for my maps!
Defintely worth a mention in the documentation i say.
Can Ben confirm that passing n
Hi.
Are you implying that canvas markers will only be used if a
MarkerImage is constructed with a string URL only?
And that using the 'full' MarkerImage constructor with all properties
set will cause non-optimised markers?
Or could the scaled size be passed as null to acheive optimised canvas
mar
Have you seen Timemap?
http://code.google.com/p/timemap/
Martin.
On Oct 12, 3:47 pm, antony smith wrote:
> Oh sages of the Maps API :) I'm hoping for a few pointers here please.
>
> I've implemented a map using a similar technique to what is shown in
> the tutorial below:
>
> http://code.googl
Hi there.
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions
Look at the 'preserveViewport' option.
Martin.
On Oct 12, 6:49 am, Justin wrote:
> Hi,
>
> Im currently using the google.maps.DirectionsService and whenever I
> create a new route requ
To be honest most (all!) questions such as yours seem to go PARTLY or
WHOLLY unanswered not just in this group but also in the API 2 group
too.
I suspect that Google don't have a 'concrete' answer and are happy to
leave us all wondering what is what...
Martin.
On Oct 10, 2:42 pm, abanjo wrote:
Hi.
You have two options to display a map in an Android app i think.
Create a browser based (javascript) map and use the Android WebView to
render that map or use the native Android (java) MapView.
A browser based map gives you access to all the current API services
and easy integration with the
The native Android browser in versions prior to 3 simply does not
support multitouch events:
http://code.google.com/p/android/issues/detail?id=11909
Martin.
On Sep 30, 9:26 pm, JFrancis wrote:
> So 3.0 is the lowest version Android which supports pinch-to-zoom? Why no
> versions prior to that?
Hi.
You can create a LatLngBounds object:
var myBounds=new google.maps.LatLngBounds();
http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLngBounds
Extend it with all your points:
myBounds.extend(new google.maps.LatLng(20, -80));
myBounds.extend(new google.maps.LatLng(
Have you seen the Places library?
http://code.google.com/apis/maps/documentation/javascript/places.html#places_autocomplete
Martin.
On Sep 18, 2:47 pm, Subodh Shah wrote:
> Hi,
>
> I am wondering if its possible to implement the *Did you mean* feature which
> is available athttp://maps.google.
Hi.
How about first creating a MySQL table with columns 'md5', 'lat' and
'lng'.
'md5' will be a text type, 'lat' and 'lng' double type.
Now create the query string that your server will send to Google,
presumably something like:
$geocode_query='http://maps.googleapis.com/maps/api/geocode/json?
s
Hi.
Not with V3 of the API:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2775
Martin.
On Sep 15, 12:48 am, Dan wrote:
> By applying the concept of this
> example:http://code.google.com/apis/maps/documentation/javascript/examples/di...
>
> Is it possible to add the location name
Can you post the code which is your GetTileUrl() method?
Martin.
On Sep 8, 4:19 pm, millz wrote:
> Thanks for the reply, Martin.
>
> That sure sounds like it would work, but how can I obtain a reference to the
> individual tile images such that I can listen for the "onload" event?
--
You recei
Hi.
You could keep an array of requested tiles - each time your
getTileUrl() method is called it add's a reference to the requested
tile to the array.
Then you can add an event listener to the tile image listening for the
'onload' event.
The event listener can remove the reference to the tile fro
Hi.
I think i'd look at adding a DOM event listener to the DOM element
that contains the map instead of using any API events.
The Map getDiv() method will give your code a reference to the DOM
element.
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
The DOM events '
Hi.
Look at the Polyline mouseover and mouseout events:
http://code.google.com/apis/maps/documentation/javascript/reference.html#Polyline
You can add an event listener for both events and each event listener
is passed a MouseEvent parameter:
http://code.google.com/apis/maps/documentation/javasc
You can add CSS styles to your cutom control, for example:
file.style.marginTop='5px';
Is that what you need?
Martin.
On Aug 30, 4:53 am, Jeremy wrote:
> H, that looks great but I'm running into a small snag.
>
> Code A places the image at the immediate right of the other controls:
>
> va
Look at this page:
http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder-tool.html
Enter a place to search for and look at the result returned from
Google.
I'm pretty sure that not all results contain a viewport bounds (but
could be wrong!) so you'd have to test for it's presence
Or try putting the Content-Type header statement before the 'require'
statement.
Martin.
On Aug 23, 6:39 pm, Radina wrote:
> Problem could be in php include file
>
> "filled in (phpsqlajax_dbinfo.php):
>
> $username="username";
> $password="password";
> $database="username-databaseName";
> ?>
Open the URL to your XML in a browser:
http://www.courtsofsorts.com/phpsqlajax_genxml.php
Now use the browser's View Source option and you'll see your XML - the
XML also validates so you have no problem there.
But the XML is being served with a Content-Type of 'text/html'.
I think your problem l
Your map has an error around line 31.
data.responseXML is null.
data.responseText is defined however and it's value is the text from
the database query.
http://www.courtsofsorts.com/phpsqlajax_genxml.php
That's being served with a text/html Content-Type, a Content-Type of
text/xml would be more
Just a thought.
Will a browser cache tiles served via a server-side script or not?
Any idea?
Martin.
On Jul 29, 5:43 am, John Coryat wrote:
> Martin's suggestion is the standard way of doing it. Make a tile server that
> does this simple function and you'll notice your server runs faster.
> P
Why not make all tile requests to a PHP script?
The script can check if the requested tile exists.
If the tile exists then the script can return it to the map, otherwise
it can return a blank transparent tile.
http://php.net/manual/en/function.file-exists.php
http://www.php.net/manual/en/functio
Let me add to that...
If the map user has browsed to an area of the map (either in the
current session or previously) then their browser cache will have the
tiles for that area in their browser cache.
A smooth animated zoom MAY be possible.
Otherwise the smoothness of any attempt at an animated z
Look here for a good example:
http://code.google.com/apis/maps/documentation/javascript/tutorial.html#HelloWorld
Martin.
On Jul 20, 5:10 pm, Mustafa646 wrote:
> I want to display Google map on entire screen. It should be displayed
> on entire screen no matter whats the size of screen. What par
Could this be a timing issue - your map is not fully initialised?
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
try this:
google.maps.event.addListenerOnce(myMap, 'idle', function(){
var bounds=myMap.getBounds();
alert(bounds.toString());
});
Add such a listener
Instead of resizing the map to make space for the new audio/video
content you could display that content in a Custom Control:
http://code.google.com/apis/maps/documentation/javascript/controls.html#CustomControls
Use CSS margin style to position the control exactly where you want it
and CSS displ
Look here too:
http://code.google.com/apis/maps/documentation/javascript/articles.html
Scroll down to API Basics, Using Markers and Using InfoWindows for
some good beginner tutorials.
Martin.
On Jul 12, 8:26 am, Luke Mahé wrote:
> A good place to start is by reading the
> documentationhttp:/
LOL
On Jun 28, 12:18 pm, en4ce wrote:
> how familiar are you with php/ajax/javascript?
>
> if you want this fast and for a client you better get a freelancer
> doing the job (in case, write me a email, cheers)
>
> On 28 Jun., 10:13, Rohan Shah wrote:
>
>
>
>
>
>
>
> > hi all,
> > i am new to thi
That example is no bodge job!
It'll poll the DOM til the element that you want to manipulate exists
and then manipulate it - end of story.
Change the poll frequenqy - maybe set a limit to the number of times
that the timeout will execute before it gives up.
The Google Maps API doesn't trigger man
Hi.
I tend to use something like this when i need to wait for an element
to exist in the DOM before i can manipulate it:
function waitForDOM(){
if(document.getElementById('myDiv')){
// do something with the div
} else {
setTimeout(waitForDOM, 250);
}
}
// start it going
waitForDOM();
Mar
Try this:
function searchLocationsNear(center) {
clearLocations();
var radius = document.getElementById('radiusSelect').value;
var searchUrl = 'phpsqlajax_search.php?lat=' + center.lat() +
'&lng=' + center.lng() + '&radius=' + radius;
downloadUrl(searchUrl, function(data) {
var xml = pa
Can't you keep a reference to the node when your getTile() method
creates it?
Or am i missing something..?
Martin.
On Jun 20, 7:25 am, Chris Broadfoot wrote:
> This is definitely not supported by the API. Could you switch between two
> different (buffered) map types?
>
> --http://twitter.com/b
Hi.
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#WorldCoordinates
World Coordinates range from 0 to 256 for both x and y values.
At zoom level 0 those world coordinates are the same as the pixel
coordinets that you want.
At higher zoom levels simply take each x and y v
ld be, using the API's built in Mercator
projection could cause problems as it will assume your game's surface
is a sphere and make appropriate corrections.
Martin.
On May 29, 5:48 am, Martin™ wrote:
> Have you seen this page:
>
> http://code.google.com/apis/maps/documentatio
Have you seen this page:
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#CustomMapTypes
You say that you have many (cartesian?) coordinates already - what is
the range of these coordinates?
Could you normalise all your coordinates so X and Y values range from
0 to 256?
If
I think the animation effect when zooming more than one level gets
crude and ugly!
(Although the animation effect is entirely dependant on what tiles are
visible before the zoom change, so the animation effect varies from
acceptable to crude).
Comment #5 on this page says much the same:
http://co
Has anyone else noticed that all zoom changes are now animated and
have been animated since version 3.4 (i think)?
I was hoping that there would be an option that could be set to
disable animated zoom changes but have found nothing.
The API changelog mentions nothing about zoom changes being anim
centerMarker will not be 'undefined' until the javascript garbage
collector has destroyed that object.
The garbage collector will not destroy the object untill there are no
more references to it - and it is no longer in use.
http://www.google.co.uk/search?x=0&y=0&q=javascript+garbage+collector&ie
Are you using Firefox 4?
https://bugzilla.mozilla.org/show_bug.cgi?id=646090
Martin.
On May 20, 9:29 am, Adriano Ellero wrote:
> on this page:http://win.cvao-soaring.org/public/global/meteoTestXml.aspif
> I drag the map i got many errors like this:
>
> Image corrupt or
> truncated:http://khm0
There's some useful info here:
http://code.google.com/apis/maps/articles/toomanymarkers.html
Martin.
On May 13, 1:38 pm, Bert Van der Auwera
wrote:
> Hello,
>
> I've got a database full of records containing coordinates, in total more
> than 2000 (and growing). The idea is to show all of those
Look at the documentation:
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#CustomMapTypes
I think you need to create a 'base map type' and not an 'overlay map
type'.
Martin.
On May 13, 3:05 am, "Tom R." wrote:
> Hello All-
>
> I found no clear mention of this on the fo
d to send to the
> script.
>
> On May 10, 11:58 am, Martin™ wrote:
>
> > Did you see my reply to your reply post?
>
> >https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thre...
>
> > Martin.
>
> > On May 10, 3:54 pm, fly2279 wrote:
//kenfrey.com/test/map%20type.html
>
> I don't know how to get the parameters that I need to send to the
> script.
>
> On May 10, 11:58 am, Martin™ wrote:
>
> > Did you see my reply to your reply post?
>
> >https://groups.google.com/group/google-maps-js-api-v3/browse
Did you see my reply to your reply post?
https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/345af7ab1f03ac43?hl=en#
Martin.
On May 10, 3:54 pm, fly2279 wrote:
> I need a php script (probably using the GD library) that can take the
> viewable area of the map's div to stitch
Hi.
I did exactly this on an older API v2 map:
http://panoramas.110mb.com/
Click a marker and then when the panorama appears you can click the
Capture button.
The panorama bounds and zoom are submitted to a PHP script that
stitches together the tiles as a JPG image.
It'd probably work fine with
1 - 100 of 146 matches
Mail list logo