[Google Maps API v3] Re: Map boundaries when zoom out

2012-02-23 Thread Rossko
> but when I'm zoomed out I can see the whole map of the world in front of
> me, but the boundaries for east and west are stating -79 east and +134
> west.

Example discussion from a few years back
http://groups.google.com/group/google-maps-api/browse_thread/thread/dca7b6c38883d0f3/5e85fd1efe956f82

-- 
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] Map boundaries when zoom out

2012-02-23 Thread THE_AI
Hey guys!
I use the boundaries of the map to create an ajax request and restrict the 
markers that it returns. Everything works really great when I'm zoomed in, 
but when I'm zoomed out I can see the whole map of the world in front of 
me, but the boundaries for east and west are stating -79 east and +134 
west. 
Here is an example:
http://snag.gy/fv6pK.jpg

Because of that my sql returns no results...

Any ideas what I could do?
Thanks,
Daniel

-- 
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/-/SjLGqMEdkBIJ.
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 and Kmz

2012-02-23 Thread Stefano
L'esempio pubblicato funziona così.
La cosa forse diversa dal solito è che il kml contiene dei riferimenti
esterni di file ed immagini che sono comunque contenuti nel kmz.

Negli esempi che ho trovato in kmz il path è sempre assoluto a risorse
esterne. E' possibile mappare in un kmz un riferimento relativo ai
file contenuti nel kmz?
In questo caso il puntamento come deve essere?

On 23 Feb, 14:57, Pier Francesco Sciuto  wrote:
> per generare un file kmz da un file kml è sufficiente utilizzare winzip
> 1) comprimi il file ottenendo un documento con l'estensione zip
> 2) sostituisci l'estensione.zip con .kmz
>
> dovrebbe funzionare
>
> F.
>
> 2012/2/23 Stefano 
>
>
>
>
>
>
>
>
>
> > Hi all,
> > I have created a page with a complex kml with network link at others
> > kml files and images.
> > If I load the html page with kml reference
>
> >http://www.areademo4.eu/arpa/kml/testkml.htm
>
> > it show correct.
>
> > Now I have take all and I have generated a kmz file.
> > with doc.kml at root folder and all sub folders and files.
>
> > I changed the reference on javascript code
>
> >http://www.areademo4.eu/arpa/kml/testkmz.htm
>
> > I don't show anything.
>
> > Do you know why?
>
> > Thanks at all
>
> > --
> > 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.
>
> --
> ---
> Pier Francesco Sciuto
> pfsci...@gmail.com
> 

-- 
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: reinitiate tabbed Infowindow

2012-02-23 Thread Pil
It's laudable that you make your solution pulic - although you didn't
reveal all the code to create the tabs, so it's useless.

-- 
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: reinitiate tabbed Infowindow

2012-02-23 Thread geom
I had to change the code the following way, so that the tabbed infowindow 
is created within the function that creates the new marker.
To clear the infowindow after inserting the data to the database I added 
infowindow=null at the end of the saveData()-function.

 
//Add listener to map, to insert new Marker and create infowindow 

google.maps.event.addListener(map, "click", function(event) { 
marker = new google.maps.Marker({ 
  position: event.latLng, 
  map: map, 
  draggable: true 
}); 
map.setCenter(event.latLng); 
map.setZoom(17); 

infowindow = new google.maps.InfoWindow({ 
content: contentString}); 

google.maps.event.addListener(infowindow, 'domready', function() { 
  addTabbar(); 
});
 

 and in saveData() i added to the end of the function:

 
if (responseCode == 200 && data.length <= 1) { 
  alert("Baum in der Datenbank gespeichert."); 
  infowindow.close(); 
  marker.setDraggable(false);
  infowindow=null;
 


 

-- 
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/-/qLXee7nbV7oJ.
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] Kml and Kmz

2012-02-23 Thread Pier Francesco Sciuto
per generare un file kmz da un file kml è sufficiente utilizzare winzip
1) comprimi il file ottenendo un documento con l'estensione zip
2) sostituisci l'estensione.zip con .kmz

dovrebbe funzionare

F.

2012/2/23 Stefano 

> Hi all,
> I have created a page with a complex kml with network link at others
> kml files and images.
> If I load the html page with kml reference
>
> http://www.areademo4.eu/arpa/kml/testkml.htm
>
> it show correct.
>
> Now I have take all and I have generated a kmz file.
> with doc.kml at root folder and all sub folders and files.
>
> I changed the reference on javascript code
>
> http://www.areademo4.eu/arpa/kml/testkmz.htm
>
>
> I don't show anything.
>
> Do you know why?
>
> Thanks at all
>
>
>
>
> --
> 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.
>
>


-- 
---
Pier Francesco Sciuto
pfsci...@gmail.com


-- 
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 and Kmz

2012-02-23 Thread Stefano
Hi all,
I have created a page with a complex kml with network link at others
kml files and images.
If I load the html page with kml reference

http://www.areademo4.eu/arpa/kml/testkml.htm

it show correct.

Now I have take all and I have generated a kmz file.
with doc.kml at root folder and all sub folders and files.

I changed the reference on javascript code

http://www.areademo4.eu/arpa/kml/testkmz.htm


I don't show anything.

Do you know why?

Thanks at all




-- 
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.