[Google Maps API v3] Re: KML Map and external anchor.

2011-09-02 Thread geocode...@gmail.com
On Sep 2, 12:04 pm, JFrancis  wrote:
> I believe you are looking for something like Mike Williams' "Clickable
> Sidebar" which loads the data from an XML 
> file:http://www.geocodezip.com/v3_MW_example_map3.html
>
> There are others here who have accomplished the same thing with KML files.
>
> JF

Currently the objects loaded by KmlLayer are not accessible
externally, only via the build in click events.

For kml there are two options I know of:
1. use a third party parser (geoxml3 is the only one I know of), that
renders the kml as "normal" maps markers, polylines and polygons and
allows you to access them externally.
2. import the kml into fusion tables, code GViz queries to simulate
the behavior of the fusion tables click events.
(there are probably other ways as well)

  -- Larry

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Display only certain KML features by attributes

2011-09-02 Thread webbirder
I use PHP to parse KML files
http://www.birdtheme.org/useful/sub/kmlwithv3.php
My page has also links to other solutions

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Feature Request: Polyline Display Types

2011-09-02 Thread MymsMan
Issues and feature requests should probably go in the tracking data base
http://code.google.com/p/gmaps-api-issues/issues/

There is an existing feature request 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1800 that you 
could indicate support for by 'Starring' it

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/GRYxLVpiuRgJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Is there any method to get list of points from Direction Service along the route with specified precision

2011-09-02 Thread MymsMan
If you go down the DirectionsStep  you have the full  path for the step.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/uGTXepnRCJ0J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Display only certain KML features by attributes

2011-09-02 Thread Rossko
> Parsing the KML is to do with trying to hide the data in the KML right? Not
> to do with Fusion Tables or only showing certain KML features by attributes.

Semantics perhaps ; hiding some features in KML is effectively the
same thing as only showing some features in KML.
If you want to select some features from a KML file, then you'll need
to parse it yourself.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re : Re: Re : Re: Re : Re: [Google Maps API v3] Re : problem with marker drop

2011-09-02 Thread bezo27
Up !!

please help !
hope that my last post help you to reproduce the problem easily and fix it 
!! 

thanks in advance guys

Luc

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/hHOwFYm_CmEJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Feature Request: Polyline Display Types

2011-09-02 Thread Mark Durham
Is it OK to put feature requests into the forum? I hope so. If I'm in the 
wrong place, please let me know.
 
I've searched through the posts and I have discovered that some people have 
extended, or are at least interested in extending, the Polyline object to do 
dashed and dotted lines. I know I can already change color and thickness for 
Polylines, but I really would like to see an official easy way to select 
different line display types as a Polyline option: solid, dashed, dotted, 
dashed-and-dotted, etc.
 
Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/8CGWDxBavxkJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Is there any method to get list of points from Direction Service along the route with specified precision

2011-09-02 Thread Marcin Kapusta
I'm using Direction Service and I wonder is there any method to get list of 
points along the calculated route with specified precision for example with 
accuracy 100 meters or 1 kilometer.

The overview_path from DirectionRoute object is not exacly detailed. It 
contains sometimes 170 points or less.

Can somebody help my with this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/xblSWzT6jtEJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Re : Odp: Re : problem with marker drop

2011-09-02 Thread CyanideJunkie
I am having the exact same problem in Firefox 6 and 6.1 but Chrome 13
works fine.

It appears that this bug has existed when using Firefox ever since v4
already?

My site cant go live due to this.

On Aug 16, 12:46 pm, bezo27  wrote:
> Hi,
>
> thanks for your post. I feel less alone !!
>
> I've just posted an answer here 
> =>http://code.google.com/intl/fr/apis/maps/documentation/javascript/for...
>
> Luc

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Load Map to floating div

2011-09-02 Thread mapusr01

ok __everything__ I am writing in this reply is "for the other interested 
readers"

I eventually managed to figure this out and it can be done quite easily.

main points of interest

1. All of my divs (everywhere) are specified with percentages %

2. Basically my page layout has a jquery menu system in a sidebar div on the 
left which allows users to select 
what gets shown in the content area div to the right

3. I simply used a jquery .load('myhtmlfile') to load an html file which 
covered nearly all of my requirements except for the google map

4. So my google map script is in a separate html file and the jquery 
.load('gmapfile.html') didn't work this was the problem ie.

  $(#ldmaplink).click( function() {
  $('#mycontentarea').load('mygmapsrcfile.html');
});

doesn't work, for whatever reason

What did work for me was using an iframe and i simply did it like this

 $("#ldmaplink").click( function() {

   document.getElementById('mycontentarea').innerHTML = ';'

});


if anybody finds this useful and wants a more fuller description then just 
ping this thread and I will be happy to help out as
best I canI ain't a big expert or nuthin' just sayin'


Derp derp derp derp derp.. off now to pull some sweet tricks on my board

Ciao






-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/0xflwjMY_qAJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Display only certain KML features by attributes

2011-09-02 Thread Gareth Mann
Parsing the KML is to do with trying to hide the data in the KML right? Not 
to do with Fusion Tables or only showing certain KML features by attributes.

I am not too worried about hiding the KMLs, if somebody wants to go through 
all my cryptic code and find the location and file name of my KMLs and 
download them then fair play to them, it won't be so easy and they will not 
get the updates automatically, besides the HTML in all of my balloons links 
back to my site anyway.

My main issue is whether or not there is a way to display only certain KML 
features by attributes, aside from the fusion table method. If i have to go 
the Fusion table route then it is an option, as long as there is a way to 
write custom HTML balloons into the Fusion table like there is with KMLs.

But thanks for the link on parsing the KML, I will definitely look into that 
as an option in the long run.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/hOGyaIRletIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Display only certain KML features by attributes

2011-09-02 Thread Andres Ferrate
Gareth,

You'll need to parse your own KML if you do not wish to make it public.  Try
searching the forum for this topic (shortcut link below):

https://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=parse+kml&qt_g=Search+this+group

There are various techniques and some developers have created some libraries
that parse KML as well.

Cheers,

-Andres


On Thu, Sep 1, 2011 at 12:18 PM, Gareth Mann wrote:

> Is there a way to display only certain features of a KML by attributes in
> Google Maps?
>
> I know this is possible using Fusion Tables, but I would rather not use
> Fusion tables because:
> a) I would have to make my KML data public so that anybody could use it.
> b) Because my KML data has description balloons loaded with HTML and I am
> not sure that Fusion tables allow the display of HTML balloons.
> c) I want to be able to dynamically update KML files stored on my website
> when users input information and I am not sure if there is a way to
> dynamically upload a KML file as a Fusion table.
>
> So is there any other way to do this in the Google Maps API without Fusion
> tables?
>
> What I want to do is mimic the "time aware" functionality of Google Earth
> so that I can display KML data by time.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/6Nhkg9IvxbsJ.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: KML Map and external anchor.

2011-09-02 Thread JFrancis
I believe you are looking for something like Mike Williams' "Clickable 
Sidebar" which loads the data from an XML file:
http://www.geocodezip.com/v3_MW_example_map3.html

There are others here who have accomplished the same thing with KML files.

JF

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/gApKgGzchjUJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: KML Map and external anchor.

2011-09-02 Thread Grok Lobster
Easiest way that I know of is to separate your kml into multiple
files.

On Sep 2, 5:52 am, ". Emanuele ."  wrote:
> I have a google map filled in with some locations saved into a kml file. I
> would like to link each one of them with a link into some text outside the
> map (but inside the page).
> For example the html < a href="showlocation(3)">text should make the
> location 3 appear and open its baloon.
> How can I do it?
>
> Thanks.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] top en left of element in infowindow differs per browser

2011-09-02 Thread Nico Oudshoorn
I have a map with a marker and an infowindow with a form. In the form you 
can open a calander beyond the date element. In IE and safari this works 
fine. In Chrome and FF the calendar opens somewhere outside the document. If 
you have luck you can see a glimp of it. In FF5 even the dropdown boxes 
appear somewhere on the screen and you can only select via arrow up and 
down.
 
you can test it here http://www.meerijden.nu/ritinvoerenmapsepo.php?codet=en. 
I have the alerts for the calendar top and left still active so you can see 
the differences..
 
I hope someone has a solution.
 
Thanks, Nico Oudshoorn.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/4AJZPWzir8MJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Get direction to a marker or geocode response from current location

2011-09-02 Thread xelawho
I want the destination to be dynamic, based

> upon a) or b) above.

seems to me like you're pretty close. what I think you need to do is
change the onclick of your Find button to call the calcRoute()
function, then change the "end" variable in your calcRoute function to
accept the address from the text box, like this:
var end = document.getElementById("address").value;

here is a basic version of what I think you're trying to do:
http://www.xelawho.com/map/dirgeo.htm

which should take care of (b).

although some sort of error handling for if the directions service
fails would probably be prudent.

(a) just involves setting up a click
listener on the map and feeding that point to the directions service,
too.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Get direction to a marker or geocode response from current location

2011-09-02 Thread xelawho
I want the destination to be dynamic, based
> upon a) or b) above.

seems to me like you're pretty close. what I think you need to do is
change the onclick of your Find button to call the calcRoute()
function, then change the "end" variable in your calcRoute function to
accept the address from the text box, like this:
var end = document.getElementById("address").value;

which should take care of (b). (a) just involves setting up a click
listener on the map and feeding that point to the directions service,
too.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-09-02 Thread Robert Aspinall
Thanks, and we'll do that, but why did this occur between 3.3 and 3.4?

The frustration we feel is that we have many applications out there using 
this API, under an enterprise license.  It would be nice if we could keep 
receiving a specific version when requesting it, instead of being inevitably 
"upgraded" as versions expire.  

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/bdd_XZw1BVEJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: InfoBox Marker Issues

2011-09-02 Thread Gary Little
There's a syntax error in the code for your map that uses InfoBox. On
the line after

,width: "180px"

there is an extraneous } on a line by itself. It needs to be removed.

Gary

On Sep 1, 11:02 am, ir261273  wrote:
> Hi, I wonder whether someone may be able to help me please with an
> issue I have around the InfoBox code.
>
> I've incorporated the Info Box code into one of my web pages 
> at:http://www.mapmyfinds.co.uk/infobox. The problem I'm having is around the
> 'click' event listener. I've added the event listener to the code, but
> the InfoBox only appears when I click on the last marker at the very
> top of the map. What I would like to be able to do is have the Info
> Box work like the InfoWindow example I've created 
> here:http://www.mapmyfinds.co.uk/alllocations.html.
>
> I've tried add all sorts of combinations of code and I just can't seem
> to get it to work, perhaps because this is all fairly new to me. I
> just wondered whether someone could perhaps please show me what I need
> to do to get this to work.
>
> Many thanks and kind regards
>
> Chris.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Get direction to a marker or geocode response from current location

2011-09-02 Thread Satpack Travel
Hi,

Slowly I drag myself toward the final product...

So, I've built the layers, markers, info windows (all Fusion Tables)
and the various clever functionality (geolocating, geocoding and
calculation directions). Works a dream, but...

I can't hook the final bit up. I want for a user to be able to get
directions from their current location (this bit works) to:

a) A marker they select on the map or
b) A destination they've found using geolocation (this works).

Here is what I've got so far:
http://www.satpacktravel.com/API/api_a6.html

It's a bit confused because, to get a working calcRoute I've copied
and pasted an API example of US locations. I obviously don't want them
to the be the destination, I want the destination to be dynamic, based
upon a) or b) above. Have hunted around for examples of this and can't
find any.

If this is too big an ask for free help, I would consider 'donating'
to someone who can help me put this to bed (I'm sure to have a few
more questions afterwards but can't find to many API v3 consultancies
in Johannesburg!

As always, much appreciated

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] KML Map and external anchor.

2011-09-02 Thread . Emanuele .
I have a google map filled in with some locations saved into a kml file. I 
would like to link each one of them with a link into some text outside the 
map (but inside the page).
For example the html < a href="showlocation(3)">text should make the 
location 3 appear and open its baloon.
How can I do it?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Q88dHZOILtIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-09-02 Thread Ben Appleton
The problem manifests in IE7/8, in which markers are rendered as images. The
IE debugger claims that http://tidesandcurrents.noaa.gov/tsunami/style.css has
set a margin of 10px on all images, which causes the strange rendering that
you observe.

I suggest using a class to style your images. That avoids your page's
styling affecting the Maps API's rendering.

Cheers
Ben

On Fri, Sep 2, 2011 at 1:43 PM, Robert Aspinall  wrote:

> Keep in mind this problem only manifests in IE.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/h_fRGRHafr4J.
>
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: using div tag inside asp.net form not working

2011-09-02 Thread Andrew Leach
On 2 September 2011 12:20, Esa  wrote:
> I don't think it is a good idea to place map container inside a form
> element.

It isn't. But that's ASP (and ASP.NET) for you.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-09-02 Thread Robert Aspinall
Keep in mind this problem only manifests in IE.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/h_fRGRHafr4J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: 2011/8/17 - New Release (3.6)

2011-09-02 Thread Robert Aspinall
Sure.  http://tidesandcurrents.noaa.gov/tsunami/index_markerproblem.html

The only change I made was to remove the optimized: false parameters from 
any marker creation code. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/n2oSquhk2OgJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: using div tag inside asp.net form not working

2011-09-02 Thread Esa
I don't think it is a good idea to place map container inside a form
element.

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: How to convert "world coordinates" given by fromLatLngToPoint() to metrуs

2011-09-02 Thread Rossko
> Or may be you could offer another way of solving the task.

There is a (v2 API) method to find DISTANCE POINT TO POLYLINE OR
POLYGON at
http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm
which you could port to v3

-- 
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-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Remove hotels from overlay

2011-09-02 Thread Pil
Ok, I concede that you may be right and it's needed. But this
necessity has consequences regarding the possibilities of what can be
done and what cannot be done with styled maps.

For convenience and that you know what I'm talking about I'll call
this necessity the type sophism. As I previously said styled maps are
not very sophisticated and have many bugs, it turns out that they are
even lesser sophisticated.

Let's assume I want to create a map where it is possible to toggle the
'labels' and to toggle a few subcategories of the 'pois' indepantently
from each other.

I've had serious problems to do that, and it didn't take long that I
found a further bug.

If you're interested you can read the report and play around with the
example
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3587&sort=-id&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars

Assumed that the type sophism exists then it turns out that this
intention is impossible.
(As I think now it's logically and syntactically impossible, i.e.
there is no possible unambiguous syntax to do that.)

What and where is the type sophism?

The layers consist of a series of overlays that are grouped into
different types. Some overlays belong to more than one type. However,
they are distinguishable by type categories.

The classification of elementType and featureType makes it possible to
distinguish these different layer groups and display them
indepantently from each other. But as soon as the classification
itself mingles the groups they are no more distinguishable.

And this is what the type sophism does. It assumes that each group
belongs in some way to the other. The API is no more able to assign
the types to the particular groups. Even the syntax makes it
impossible to distinguish the groups clearly.

As a consequence of the type sophism I also have to concede that the
workaround, which is mentioned in the bug report, is invalid and
cannot be replaced by a valid one, i.e. it is irreparable invalid,
because the API doesn't allow what I intended to do.

It's one more restriction to be added to many existing others.
Not sure if this was intended, though.




On Sep 1, 7:53 pm, Barry Hunter  wrote:
> On Thu, Sep 1, 2011 at 5:15 PM, Pil  wrote:
> > Ok, I repeat the reasons why it's no good idea to include it in the
> > mentioned context:
>
> > 1. It's intented for hiding the 'labels' of elementType category
>
> I dont understand what yo mean there.
>
> As I see it, its for affecting the label "element"s, of what ever
> featureType you (or dont) specify.
>
>
>
> > 2. It is redudant.
>
> Actully further to what I said before, seems I was wrong. Specifying
> elementType: "labels" is acutlly different to "all" (or missing)
>
> If you specify "labels", then you just hide labels. If you leave
> elementType off altogether (or explictly say "all"() then you hiding
> "geometry" too.
>
> There arent many geometries attached to poi.business. But they do
> exist. Look at new york city for example. there are a few. Use the
> style wizard to toggle geometry on and off to see :)
> (enter "loc: 40.734099,-73.945977" into the 'enter a location' box top right)
>
> So leaving it off, has changed the meaning.
>
>
>
> > 3. It leads to confusion.
>
> Cant disagree there, given this conversation :)
>
>
>
> > 4. It complicates things more than necessary.
>
> Given the fact that it actully changes what is displayed, can only now
> disagree.
>
> So my answer would be "needed" - yes.
>
>
>
> > On Sep 1, 5:29 pm, Barry Hunter  wrote:
> >> On Thu, Sep 1, 2011 at 4:05 PM, Pil  wrote:
>
> >> > So when all examples are behaving identical it remains your secret why
> >> > it's "good to include anyway". Sorry, I cannot understand this
> >> > 'logic'.
>
> >> Not a secret. I guess just to me makes more sense (to me).
>
> >> As much as anything its about predictablity.
>
> >> Being as specific as posible - ie that just want to turn the
> >> poi.business labels off. Is better than turning the whole of
> >> poi.business. turning off the whole of poi.business off, might have
> >> unpredictable results. We dont know.
>
> >> Specifiy "exacly what want to do", rather than a broader "do all this"
> >> just becauase it happens to do just that.
>
> >> Say you have a single file in the folder. And you want to delete it.
>
> >> * You could delete the folder. It would delete the file. And would
> >> work just fine.
>
> >> Now later, you add some more unrelated files to the folder (for what
> >> ever reason).
>
> >> Again you want to delete the single file, so you execute your "delete
> >> folder" procedure. Result: the file has been deleted - good. (But so
> >> have these other files - this is probably unintended. - bad)
>
> >> So to delete the file, you delete the file - its safer. It more
> >> robust. It jsut does what is intended.
>
> >> > Look at my example above to see the difference when the 'labels' are
> >> > hidden and when the 'pois' are hidden.
>
> >> Yes, bec

[Google Maps API v3] Re: How to convert "world coordinates" given by fromLatLngToPoint() to metrуs

2011-09-02 Thread Artem
These links are very useful. Thank you.

Now I have new task: to find out is the point(s) with given coordinates 
located within five kilometers (it can be any given distance) of the route 
(I have spherical coordinates of the vertices of the route's polyline)? 

It's possible to use algorithms from links you mentioned for finding answer 
for the given point and every vertice of the polyline. But what 
about segments between the vertices.

I can use several formulas from a school course in Euclidean geometry to 
process segments and vertices of the route's polyline. But to use them 
spherical coordinates have to be translated to 2D coordinate system.

As far as I understand, google.maps.Projection performs this translation, 
doesn't it? In this case I need to know two characteristics of the 
projection:
 - the scale
 - spherical coordinates of the origin

Do you know how to find out values of these characteristics?

Or may be you could offer another way of solving the task.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ldLf76Q2VaAJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.