Which cutePDF package did you use to create that?
On Oct 21, 2:51 pm, MymsMan wrote:
> I also got strange results printing (cutePDF) with IE9 Win7 x64,
> (hotel_plan2)
> a second attempt was more successful but not perfect (streetview man appear
> below map) (hotel_plan2)
>
> I also get missing t
if you have their map
layer with your own overlay, would obviously breach the ToS.
On Oct 21, 9:51 am, Andrew C Leach wrote:
> On 21 October 2011 08:59, Kesuke wrote:
>
> > This means
> > any solution will almost certainly involve a serverside script that
> > stitches y
a heatmap overlay on my map and i want to
> export all that data into an image. currently, i'm using the static
> maps api and programmatically merging a generated heatmap image on top
> to produce the image i want. was wondering if there's an easier way
> to d
How does it perform in the end? I'd love to see a link as am thinking
of implementing something similar to smooth out transitions in my
custom overlays.
I was wondering whether the need for 5 second updates couldn't be
changed to perhaps 10 or even 15+? At 5 seconds isn't there a danger
than tile
October 2011 15:29, Kesuke wrote:
>
> > Nevermind, rewrote it and it works. From what I can see it was the
> > lowercase M in math.pow().
>
> Did that not produce an error which would help in the diagnosis?
> Something like "math is not defined" or "cannot us
Nevermind, rewrote it and it works. From what I can see it was the
lowercase M in math.pow().
On Oct 20, 2:48 pm, Rossko wrote:
> > But it doesn't work - infact, putting any code into getTileURL except
> > '{ return "/url" }' seem to make it to fail.
>
> If only we could see what "fail" meant
--
I am trying to implement a way of hiding all the tiles on the left or
right half of the map based on a user input. It is easy to figure out
whether a tile exists on the left or right half of the projection just
by using its' x-coordinate and zoom level:
if (coord.x >= 0.5 * math.pow(2, zoom level)
I am trying to implement a way of hiding all the tiles on the left or
right half of the map based on a user input. It is easy to figure out
whether a tile exists on the left or right half of the projection just
by using its' x-coordinate and zoom level:
if (coord.x >= 0.5 * math.pow(2, zoom level)
>> Google Static Maps
But static maps won't work with custom overlays will it?
On Oct 20, 10:30 am, davie strachan wrote:
> Hi
> Google Static Mapshttp://code.google.com/apis/maps/documentation/staticmaps/
> Regards Davie
>
> On Oct 20, 1:29 am, Geoff wrote:
>
>
>
>
>
>
>
> > Is there a way to
It sounds like the polygon solution will work best for you as the
delivery areas could end up being very complex shapes, such as where
they hug state boundaries or are impeeded by obstacles like rivers.
That wouldn't work very well with simple bounding boxes.
Rather than try to jump straight into
I have to admit I'm slightly ignorant on blocks as a measurement since
we don't use that system in Europe. The problem is they don't have a
fixed unit of distance which makes calculating a block distance
arbitrary. I am not aware of any built in function to calculate the
distance in blocks, since t
Ideally option 1 would work, but sometimes the animation complete
function in JQuery fires before the DOM has actually finished
rendering the animation - especially on older devices/mobile devices.
You could try enclosing the resize in a setTimeout() method, probably
with a generous time on it like
It may help if you could explain a little about what it is you are
trying to do that requires such a large number of objects. We might be
able to suggest better ways of achieving it.
On Jul 18, 9:20 pm, AlbertoHN wrote:
> Hi! The problem is that I need to draw thousands of objects (not cluster
>
Hmmm, never the less that function is throwing off an error which is
stopping it progressing. I'm not sure what is causing it in that case.
On Aug 14, 3:11 pm, Esa wrote:
> Kesuke. None of the syntax issues you pointed are not against
> JavaScript rules.
>
> Curly brackets wit
Does your map have a fixed width/height or is it fluid?
On Aug 13, 6:15 pm, Matt wrote:
> I'm trying to create an overlay that sits above the map tiles and below any
> markers and controls. It needs to be statically positioned - not pan with
> the map.
>
> I'm trying to create something akin to
If enough people are interested I will do a guide on how to replicate
the maps.google.com side panel witj JQuery. It isn't as complicated as
it seems, but it does have to be done in quite a precise way. Is this
something people want?
On Aug 12, 9:24 pm, Esa wrote:
> I see quite tricky to duplicat
I was just taking another look at this and there is another problem
with that setRedye function, the (document.dir.redye_check.checked)
throws up an "Unable to get value of the property 'checked': object is
null or undefined" error. I'm not sure why that is, I would have
thought it should work but
Your function setRedye (){ has an error *I think*, could this be the
cause?
function setRedye(){
if (document.dir.redye_check.checked) redye=true;
else redye=false;
}
Should be;
function setRedye() {
if (document.dir.redye_check.checked) {
redye=true;
} else {
redye=false;
}
Out of my own c
Are you talking about the entire left panel - or the panels within the
map?
The left panel (where the directions are shown) on maps.google.com
could be easily reproduced using CSS and JQuery.
Your page will look something like:
Stuff you want in the panel
Then, you will give your map-c
changes need to be made (e.g. displaying or hiding a
merged-layer). The checkboxes would then be adjusted to simply reflect
whatever settings the array currently holds.
But after about 72 hours of trying I'm really hitting a wall with how
to actually make it work.
On Aug 7, 6:48 pm, K
#1 As far as I have heard WatchPosition() seems to update faster in
most circumstances than re-calling CurrentPosition() on an interval
loop. This link is where I first saw it:
http://stackoverflow.com/questions/1948952/watchposition-vs-getcurrentposition-w-settimeout
but its far from conclusive. T
Continued from:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/b7d796cfa05a40de/48816cfff2d6807e
(can't bump the old thread for some reason).
A year on the project is very nearly complete, but I have a final
problem;
Each diagram uses about ~130 layers/overlays. To imp
I can't get the tilesloaded event to fire when using a custom tile
overlay in V3. Is this a normal/intention limitation or perhaps I have
made a mistake somewhere?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this
x27;m assuming you mean the "/&x=" and "/
> &y="? I thought so too but the odd thing is it works fine without the
> forward slashes in Firefox or IE but in Chrome the tiles don't load
> without having the forward slashes there.
>
> Not sure why that
n in the map code changing the return statement to:
>
> return "/merge/tiles.php?z=" + zoom + "/&x=" + coord.x + "/&y=" +
> (Math.pow(2,zoom)-coord.y-1) + ".png";
>
> seems to work for me. I have a google base layer, tiles and no 404s.
>
&
suspect you need to change it a
bit (look at the . "_" . parts especially). Let me know how it goes.
On Jul 30, 8:50 pm, Jason wrote:
> Thanks for posting that Kesuke! It would be great to get this working.
> Those 404s have been a headache for quite a while.
>
> I've im
1.) This guide should help explain how to call the map in V3:
http://code.google.com/apis/maps/documentation/javascript/tutorial.html
Essentially your map code will go in a javascript function, and in the
body tag you will call that function. In the 'hello world' example
over at that link you will
with me feeding it the
same 1px clear.png image from different URLs but it doesn't seem to
appreciate that is the lesser of two evils. So I set a very long
expiry on the clear.png and PNGcrushed it down to a massive 69 bytes
and PageSpeed seems to be ignoring it now.
On Jul 30, 3:19 pm, K
Okay, thanks everyone – the PHP solution works great!
So here is a guide for Jason or anyone else who stumbles across this;
1.) Make a new PHP file with the following code:
Basically this PHP script will check to see if the file exists. If it
does it will return the file. If it doesn't, it will
I am using custom tile overlays on a map. To fetch the tiles I use the
generic method:
function createImageMapType(id, opacityvalue) {
return new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) {
return "/tiles/" + id + "/"+ zoom + "_" + coord.x + "_" +
coord.y + ".
Opps, my bad - ignore me.
On May 6, 1:36 am, Luke Mahé wrote:
> This is incorrect - we do not limit the number of markers that you can add
> to a map.
>
> -- Luke
>
> On Thu, May 5, 2011 at 5:22 PM, Kesuke wrote:
> > Google limit the number of markers visible on a single
g. 85%) to the tiles you will get artefacts around
the alpha parts of the image - which isn't googles fault, it's the
best that can be done with those versions of IE.
I take it all back, google have taken care of this nicely.
On May 3, 11:38 pm, Nghi Nguyen wrote:
> Great advice, than
Thanks all, got it working. I had originally tried the
fromLatLngToPoint(point) method but it didn't work so I moved on.
HOWEVER, it turns out the problem was I was not feeding it points
properly. I was trying to give it pixel coords or tile coords - what
it actually wants are world coords! Like ma
Google limit the number of markers visible on a single page to ensure
good performance. Over a few hundred markers and even a modern browser
starts slowing down, so google seem to have settled on 200 as a
practical limit. Could this be the reason why you are getting a random
selection of markers?
> Thanks
>
> On May 5, 6:13 pm, Kesuke wrote:
>
>
>
> > This is the V3 group, is there any reason why you are using the
> > deprecated V2 for this? This question would better be asked in the V2
> > group else people searching in the V3 group find the answers t
se gudermannian function but it is at this
point my knowledge and understanding of maths is clutching at straws.
Does anyone have such a function that I can copy paste into my code to
convert a % latitute position on a square map into a trye latitude
value?
On May 5, 10:54 pm, Kesuke wrote:
>
This is the V3 group, is there any reason why you are using the
deprecated V2 for this? This question would better be asked in the V2
group else people searching in the V3 group find the answers to V2
questions and get confused (sorry to be pedantic!)
- A few points though, you add your
Hate to bump, but someone must have done this as it's been asked here
a lot before (just with no clear answer). I'm sure one of us has the
maths for this ready to go.
On May 2, 4:48 pm, Kesuke wrote:
> How do I convert a pixel position to a latlng. I've searched and
I'm very glad this subject has come up again. From what I can see
there are TWO types of opacity and confusion is arising from what we
are all calling opacity;
1.) There is the files own opacity (alpha channel).
2.) There is the browsers opacity rendering.
In v3.3 google said they fixed IE opacit
So probably best to stick with IMG elements for tiles if you want to
> listen for that IMG onload event.
>
> Martin.
>
> On May 2, 11:29 pm, Kesuke wrote:
>
>
>
> > You could try adding an event handler for the 'tilesloaded' event. The
> > V3 Referenc
#x27;m probably getting a little greedy at this point, but does
> the API provide any mechanism for checking load status? I am sure I
> can come up w/some roundabout way to do this but I wasn't sure if
> there might already be something in place.
>
> On May 2, 12:30 pm, Kesuk
I wouldn't use google maps for this purpose. Google maps is designed
for displaying 2D representations of spherical data, and gets
incredibly complex for this sort of purpose.
Google 'Zoomify' instead - it is specifically designed to do what you
want to do (display enormous images in a google-maps
I actually think your 'rough' version is quite quick - and I'm using
an old 1.86Ghz/2Gb RAM laptop from ~ 2004. As a user I wouldn't be
irrirated by its speed and am impressed by its performance.
1.) Use pngcrush or something similar to make your files as small as
possible if you don't already. It
How do I convert a pixel position to a latlng. I've searched and
searched but its suprisingly hard to get a clear answer.
For example, at zoom level 2 lets say I want to get the latlng of a
position that is 40% along the x axis and 60% along the y-axis.
So;
2^zoomlevel * 256 = 1024 pixel map.
x
nt tile.
>
> > Converting coords to a GLatLngBounds object has been asked before:
>
> >https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thre...
>
> >https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thre...
>
> >https://groups.goog
I am playing around with an idea, which involves ONLY loading
ImageMapType tiles that lie within a defined area.
So far I have created a simple map to test the idea using googles own
traffic-data example of ImageMapsType. The test is here:
http://bodymap.ukmedicalschools.com/test.html
I have made
Bit off topic from maps - I was wondering if anyone is still in touch
with William (http://groups.google.com/groups/profile?
enc_user=cIvU0hYAAACNlgmCvDXWVdSjPCNpvywzo4cocwWvDVg2RHsu8f1bCg). He
was pretty prolific in the group and helped a lot of people including
me. Then all of a sudden stopped po
The problem with migrating the animation effect to V3 is that is
doesn't support show/hide of tiles. You can add (insertAt) and remove
(removeAt) custom tile layers but I'm not sure how that will work for
performance - I actually couldn't get the animation to work on your V2
link using FF3.6 and IE
On a side note - if you plan to use a large number of custom .png
tiles on your map try using pngcrush (available from sourceforge). I
was able to reduce 135mb of .png tiles down to 45mb - not bad for
lossless compression. Faster load times + cheaper bandwidth.
On Oct 15, 11:51 am, bory wrote:
>
code is UTF-8 and ISO-8859
> isn't that old? Can't Google Maps handle UTF-8?
>
> On 14 Sep, 19:27, Kesuke wrote:
>
>
>
> > Try changing your MySQL dataset to ISO-8859-1 or Latin-1.
>
> > Can you also link us to the URL that is showing this.
>
> >
Try changing your MySQL dataset to ISO-8859-1 or Latin-1.
Can you also link us to the URL that is showing this.
On Sep 14, 6:22 pm, 3D-kreativ wrote:
> Hi!
>
> I try to find why I get strange signs when i use swedish letters like
> Å Ä Ö in the markers title? I get correct letters in infowindows
Depending on the size of the map I would consider rasterizing the
tracks into transparent .pngs and doing a tile overlay. This will work
in all browsers that support V3 and would also work much more
consistently on devices with reduced processing abilities (like
netbooks, tablets, smartphones etc.)
This sounds like it might have exceeded the memory available to IE. I
would test your app/map in the different browsers with taskmanager
running to get an idea of how you are managing resources. If it turns
out that you're clipping IE's memory you could try to run the map in a
less intense way (e.g
have its
control:false but its rules still evaluate)?
Example: http://anatomy.study-medicine.co.uk/testk4.html
On Aug 10, 11:38 pm, William wrote:
> On Aug 9, 9:21 pm, Kesuke wrote:
>
>
>
> > The second problem is with the actual construction of the controller,
> > I&
On Aug 13, 7:08 am, Jurgis Stepanovs
wrote:
> Dear, all!
>
> Where there might be problem with IE?
IE has an older javascript rendering engine so is not as fast as FF/
Webkit. IE9 is due out later this year and appears to be considerably
faster (although it will be many years before we can stop s
Background colour can be controlled by using the BackgroundColor (note
US spelling) property. See
http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions.
There are also style variables that alter other aspects of the map
styling. There are loads of examples in the tuto
You might be able to do it without a full browser refresh, by creating
a periodic function which runs every ~30 seconds. This would probably
begin by clearing your existing markers from the map, then loading the
new markers from their source again.
Alternatively, a very easy (though less elegant)
You are calling a style sheet for JQuery UI 1.8.4 but load JQuery UI
1.8.3, is that intentional?
Also, though probably not the cause of the problem, it would help to
clean up the document a bit. I would move your stylesheet links up so
they are below the
Can you provide us with a link to your code so far per
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/2b3f101fd509919e
On Aug 10, 4:47 pm, inotipiedideipitoni
wrote:
> Hi, i have a question.
>
> I have a input id named "autocomplete" that use a function of "jquery
> ui
Can you link to the map on your website that is experiencing the
error?
I cannot reproduce the error on XP+IE8 (v8.0.6001) with the sample
page you linked. What OS + Browser version did you get this on? What
exactly happens, does the map load at all?
On Aug 10, 5:43 am, Don Green wrote:
> I am
It would be orders of magnitude more useful if we could see your full
code (HTML + JS + Anything else) in its entirety online - especially
for something as bespoke as this. Can you also explain what the code
is trying to accomplish?
On Aug 10, 3:58 pm, "geocode...@gmail.com"
wrote:
> On Aug 10,
I'm having a bit of trouble getting this working, but its getting
there slowly.
The first problem is that some layers are subject to both ANY and ALL
rules, and have different layer-lists for show and hide - but I think
I can get around that by adding new properties for hide/show as the
concept re
I can also confirm this. In V2 we used to put onUnload="GUnload()" in
the body tag, and if you look at the V2 'hello world' example (which
includes the GUnload) you should notice that it does not have this
memory issue.
But I'm not aware of a V3 equivalent or workaround and have also seen
effectiv
Can you provide a link to the webpage you are making. It's impossible
for us to debug your code without seeing it.
On Aug 6, 8:13 pm, "Stefano.pass"
wrote:
> Hi to all, I've a problem creating a web page for iPhone.
> I need to create a web page with only a map div that fit all the
> screen (w
1. Your map isn't working in IE (but is in Firefox).
2. The root to 'main.css' is broken (or the file is non-existent)
which may well be causing some of your problems.
3. Try replacing your doctype with - to load in
standards mode.
Personally, I wouldn't link a css document for this. You're only
I haven't tested this and am not very experienced with polylines, but
one method might be to change their opacity to 0 when you want to
hide
them. As for checkboxs (I think OP means inside the same page - but
outside the map div) thats simple HTML/Javascript. Add a checkbox
input type, and give it
I haven't tested this and am not very experienced with polylines, but
one method might be to change their opacity to 0 when you want to hide
them. As for checkboxs (I think OP means inside the same page - but
outside the map div) thats simple HTML/Javascript. Add a checkbox
input type, and give it
I've got the new layers I spoke about online to allow for more testing
of the method.
Rather than go into detail here about what I've done, I've created an
explanation here: http://anatomy.study-medicine.co.uk/update.html
And you can see where the map is at so far, here:
http://anatomy.study-medi
Presumably the ToS covers all active versions of the map API,
including V2 - which would explain why that section remains in there.
Also, V2 was deprecated on the 19.5.09, and that was only last updated
on the 27.5.09 so its possible that it just hasn't been updated yet to
make clear how exactly s
On Jul 30, 5:01 pm, Anya wrote:
> I tried searching this discussion group and read the documentation and
> terms of service about the use of API keys. I am still confused. The
> front page of JavaScript API V3 clearly says that this version no
> longer requires API key, but all the legal document
On Jul 29, 4:38 pm, jmdall wrote:
> The problem is that you can't interact with the maps, for example if
> you have a marker under the shadow right ? So the shadow need to be as
> small as possible.
Yes, that would be an issue. Ultimately I decided not to use the
shadows for aesthetic reasons. Ho
On Jul 29, 4:40 am, William wrote:
> I imagine if you want to view layer B when layer A is visible,
> and if parts of B are above A and parts below A, then A needs
> to become two layers C and D, to be displayed in order C,B,D.
This controller idea sounds perfect, and your absolutely right about
On Jul 29, 4:40 am, William wrote:
> I imagine if you want to view layer B when layer A is visible,
> and if parts of B are above A and parts below A, then A needs
> to become two layers C and D, to be displayed in order C,B,D.
This controller idea sounds perfect, and your absolutely right about
Thanks William, this is amazingly useful and particularly creative!
I'm very optimistic about your concept as it removes a lot of the
complexity from loading the many layers. In the next few days I plan
to upload tiles for each of the ~30 layers in the head region. This
way I'll have some additiona
e z-index propertyhttp://www.w3schools.com/css/pr_pos_z-index.asp
> or a div element within the map element.
>
> On Jul 28, 10:06 am, Kesuke wrote:
>
>
>
> > Onhttp://maps.google.com, the map container has a small ~5px drop
> > shadow running the length of the top
On http://maps.google.com, the map container has a small ~5px drop
shadow running the length of the top and left sides. My guess is its a
simple .png with transparency judging by how it reacts with the map.
Any ideas how they achieved this? - making the .png image is easy
enough, but how did they
rote:
> On Jul 25, 5:26 am, Kesuke wrote:
>
> > Personally I like broswer detection scripts. I use a 'high-standards'
> > version, where I won't accept anything below firefox 3, IE8 and
> > similar. The key thing is to make sure you direct people to a messag
Personally I like broswer detection scripts. I use a 'high-standards'
version, where I won't accept anything below firefox 3, IE8 and
similar. The key thing is to make sure you direct people to a message
explaining why they weren't able to see your site and how they can
upgrade (rather than just st
use these in your map options instead:
mapTypeControl: false,
navigationControl: false,
If you want to re-enable the controls later, you can probably just
make a button or event and get it to call a function like;
function enableUI(){
map.setOptions({
navigationControl: true,
mapTy
position: geoloc
});
On Jul 25, 1:21 am, "geocode...@gmail.com"
wrote:
> On Jul 24, 5:10 pm, slindsey3000 wrote:
>
> > Thank you for responses. @William... tried that before didn't work.
> > Seems it needs code in top part.
>
> > @Kesuke
Are you both talking about the same problem? - I understood the OP to
be talking about a problem where he wants the directions overlay to
have 50% opacity. But this only seems to work when its in
compatability view. Viewing the example in firefox you can see the
overlay is at 50% opacity and is ver
The layers have a z-index heirarchy, so the lowest elements (e.g. the
skeleton) do not appear above higher elements (e.g. the skin).
If I have understood your question, you mean could I create a linear
heirarchy where for example everything above a certain point could be
switched off? But there ar
You fundamentally need the part you "don't want" especially
map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
That line effectively creates the map and connects it to the target
div (#map_canvas). Then your later statements feed into it to tell it
more precisely what yo
I use something like this code on my map to handle resize events, it
will probably need modification to achieve the exact results you want
but the concept is applicable;
// when the broswer is resized trigger function
window.onresize = function(){
// find the center of the map (see why lat
commas so that we can
> split them apart and add/remove the layer as needed. This might help you?
>
> The code might be a little confusing if you're not familiar with jQuery but
> it's pretty self explanatory. Let me know if I need to explain further.
>
>
>
> On We
Hi browndash, your problems relate to your use/understanding of zoom
levels.
Google.maps displays the world as a cascade of square tiles. Each zoom
level is made up of these square tiles, increasing by a power of 2
each time. So;
Zoom level 0 = 1 tile (1 by 1) (the entire world is made up from on
gt; not the most elegant solution, but it seems to work.
>
>
>
> On Wed, Jul 21, 2010 at 8:47 AM, Kesuke wrote:
> > Thanks for the suggestions, however I'm having two major problems with
> > this approach;
>
> > 1.) It works the first time its clicked, but I
Thanks for the suggestions, however I'm having two major problems with
this approach;
1.) It works the first time its clicked, but I think its trying to
insertAt or removeAt where objects have already been removed. I'm
wondering if when an element is 'removeAt', everything moves down the
MCV array
I'm moving a project from V2 to V3 and am having some trouble showing
and hiding custom overlays (added using overlayMapTypes).
In V2 it was a pretty straightforward job of using the show() and
hide() methods that were part of the GLayer class. But in V3 i'm not
sure how to go about the same thing
var myOptions = {
zoom: 2,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
backgroundColor: '#FF'
};
In V3, use the backgroundColor property (note the 'color' spelling if
you're from the UK) and give it a color code as a string. Search the
API reference for more info. However, you ca
90 matches
Mail list logo