I have searched around but cannot find out whether what I want to do
is possible or not.
I have a number of smallish polygons (e.g car parks) in a kml file
which I am displaying fine on a map.
If the user zooms too far out though, it does not provide as good an
experience as if I were displaying
Its probably worth mentioning Google Fusion Tables has the ability to
do this geocoding for you too, and you can export the full results, or
subsets of the results as kml.
This is expecially useful if your cities are each associated with,say,
a state (or any other criteria) so you could query the
Thanks for your reply @bratlif, I shall mull over that during the xmas
break!
I cannot say I know how to implement that but shall have a stab at it
and come back if I cannot work it out, after all, this is how we
learn.
BTW, although I now have the capture and storage of Polygons working,
I note
@Ben Appleton said: "V3 implements something like Douglas-Peucker in
JavaScript. Are you sure you
need to pre-simplify your polylines? "
Ah, you could be correct there, I will look a bit closer at the return
values, I was just trying to work out in advance a problem I had
noticed in my test data.
Hi,
I have some edited polygons being submitted.
It is entirely possible for those polygons to contain a point which
lie on a straight line.
To illustrate my case : if you imagine a square with 4 lines and 4
points, and on the top line there is a 5th point sitting on that line
with exactly horiz
Sorry for the delay in replying to this thread, thanks for the input
so far.
@bratliff - thx, but I dont want an IE only solution.
@Albert_Sun
I have looked into storing the polygon in a Mysql table row as you
suggested, and yes, this looks a really good solution, with lots of
downstream benefit
I have done quite a bit of searching around on this group and just
thought I'd post my initial thoughts just in case someone can share
any heads up on what I am about to attempt.
I am adding the ability to add/edit polygons to a CMS, the backend is
PHP/Mysql. I'd prefer not to have to go out to G
Are you making sure that the url of the kml file changes on each call?
http://is.gd/fd7xy
You could just be getting the same cached file you originally served
up a few hours ago.
It could drive you nuts!
--
You received this message because you are subscribed to the Google Groups
"Google Maps
I documented some of my findings from moving to 2 to 3, and highlight
a couple of gotchas which might help.
http://is.gd/fd7xy
It does not answer any of your questions exactly, but overall I'm not
sure if you need to have "queryable kml" such as can be stored in
Google Fusion Tables.
--
You rec
I don't know your exact situation, but if your aim is to zoom in on
the kml set of markers so that only a limited number are shown which
equate to about a particular radius, then look at zooming the viewport
in to a known level.
ie Level 8 at 500px square shows 1 square mile (thats a rough guess b
The first one comes back with 'map not found' message.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to
g
"Can anyone explain why this data has to be in the public domain?"
I do commiserate, there are some fundamental gotchas for the unwary.
I had a go at explaining your question on my blog, its probably not
very accurate because its how I "internalize" what is going on.
"When a map is requested fro
Create separate kml files for each building.
Cache them (they don't move do they?)
Serve them up on demand.
It means your html drop-list is generated separately, but the contents
of that can be programmed to be cached (nightly?) too.
Works for me, but might not be practical if your info-box dat
> You can assign it a css class and style that:
>http://www.geocodezip.com/v3_markers_normal_colored_infowindows_style...
>If you try to put the infowindow's content in an outer element, then
>you know the id of this element and can style it appropriately.
Two good replies, thank you.
>The div o
Perhaps I should ask how can I manipulate just the bold text contained
in my InfoWindow by picking my way down the DOM structure?
Or, what is the div of the InfoWindow named?
But yes, hardwiring seems the only way round it
with the least markup, but is still a brittle solution.
--
You received
I like the simplicity and speed of the native InfoWindows in Gmaps3,
and understand that it comes at a price: a scroll-bar appears
dependent upon the map-size and so on.
However, can someone just confirm my understanding:
If I have some emboldened text in
message : "this is boldthis is not",
Th
Well that was a fun-filled few hours .. but I got it working thanks to
your advice and info I found in other threads.
http://groups.google.co.uk/group/google-maps-js-api-v3/browse_thread/thread/ee2479ef82638d8b
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/b73a280d9d63
I have a number of features in separate kml files, all contained
within a pretty tight area.
I can load them up dynamically and this works fine, think of a road
gazetteer.
However I don't want the viewport zooming in and out for these
particular features.
I want the current viewport to pan to th
This would appear to be a kml "feature" than a Gmaps v3 "problem".
from:
http://code.google.com/apis/kml/documentation/kmlreference.html#description
"Targets are ignored when included in HTML written directly into the
KML; all such links are opened as if the target is set to _blank. Any
specifie
Or just add this to your map div;
That had me going for a while yesterday too, I do admit.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsu
Thanks for the reply Chad.
I will give that a go and report back when I get chance - deep into
playing catchup migrating some features from v2 to v3.
I only tried to add event tracking once before and that failed to
work.
One thing I really want to investigate is when, say, a building is
chosen
This is for a community site where we already have geotagged many
assets around the town.
Is there any way of finding out what proportion of our visitors
actually drag pegman onto the map?
We will likely be trying a variety of ways to point out to people that
all the streets in our town have Stre
KML files have to be served from a publicly available server, you
cannot do this from localhost.
I fell over on this point too, and we won't be the last, we've both
lost time and money.
Move the KML file to a public-facing server and it will probably work,
but still, the rewrite-publish-test proc
Hi,
It is pretty simple code which I just got this working, and wondered
if it really is the most efficient way of hiding a kml layer when the
user zooms out too far. I was expecting to see a setting in the kml
layer which would handle this kind of thing.
Given that:
map is my google mapv3 insta
Just to update this thread with what I discovered after playing around
with the values;
The "hotSpot" tag withing IconStyle does not do what had I first
imagined, that is, work like a html hotspot on an old-fashioned image
map.
It contains settings which allow you to specify the position your ico
William - thanks, I woke up thinking about that this morning and was
worried that the "live" are would extend around the icon, 32x32 -
ahah! hotSpot, great thanks for taking the time to point that out to
me.
James - thanks for the confirmation
Makes me wonder what will happen with the "new enhanc
Thanks for your courtesy in explaining all of that to me.
I do admit I am struggling to grapple with some kind of ball I have
dropped between V2 and V3, likely much to do with terminology as
anything else.
I'll read again with your comments in mind.
Thanks
--
You received this message because
> Are you using the same marker and just different images with different image
> sizes for the marker or are they different markers entirely? I say this b/c
> when you create a marker and set its image size property, the image size for
> that marker is set, this has been like this since api v2.
T
My own small icons are being resized after they are defined in a kml
file.
There is an issue open which is very similar to my point:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2444
I while I get them to load as part of my kml style rules, Gmaps is
somehow resizing them.
There ex
29 matches
Mail list logo