Re: [Google Maps API v3] Re: Infowindow

2019-02-15 Thread Michael Geary
This group was shut down years ago, but a few of us old-timers still
monitor it.

If a Maps API update broke your app, a likely reason may be that you were
using undocumented features.

Here is an example:

https://stackoverflow.com/questions/15395387/how-to-properly-use-google-maps-api/15395503#15395503

Beyond that, it's impossible for anyone to tell what the problem is, unless
you post a link to your map so we can look at it.

On Fri, Feb 15, 2019 at 1:46 AM Menghuy  wrote:

> Thank you very much for your reply
>
> On 15 Feb 2019 15:47, "ralfwessels"  wrote:
>
> Hi Menghuy,
>
>
> it is possible that the problems are related to the version change of the
> Google Maps API a few days ago.
> Try to use another (older) version to see if it helps.
> More information about the API versions you'll find here:
> https://developers.google.com/maps/documentation/javascript/versions
>
> --
> You received this message because you are subscribed to the Google Groups
> "[deprecated] Google Maps JavaScript API v3. Please use the latest post."
> group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-maps-js-api-v3+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "[deprecated] Google Maps JavaScript API v3. Please use the latest post."
> group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-maps-js-api-v3+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"[deprecated] Google Maps JavaScript API v3. Please use the latest post." group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.


Re: [Google Maps API v3] Re: Infowindow

2019-02-15 Thread Menghuy
Thank you very much for your reply

On 15 Feb 2019 15:47, "ralfwessels"  wrote:

Hi Menghuy,


it is possible that the problems are related to the version change of the
Google Maps API a few days ago.
Try to use another (older) version to see if it helps.
More information about the API versions you'll find here:
https://developers.google.com/maps/documentation/javascript/versions

-- 
You received this message because you are subscribed to the Google Groups
"[deprecated] Google Maps JavaScript API v3. Please use the latest post."
group.
To unsubscribe from this group and stop receiving emails from it, send an
email to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"[deprecated] Google Maps JavaScript API v3. Please use the latest post." group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.


[Google Maps API v3] Re: Infowindow

2019-02-15 Thread ralfwessels

>
> Hi Menghuy,

 
it is possible that the problems are related to the version change of the 
Google Maps API a few days ago.
Try to use another (older) version to see if it helps.
More information about the API versions you'll find 
here: https://developers.google.com/maps/documentation/javascript/versions

-- 
You received this message because you are subscribed to the Google Groups 
"[deprecated] Google Maps JavaScript API v3. Please use the latest post." group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.


[Google Maps API v3] Re: InfoWindow, Chrome Safari, Flash problem

2013-12-28 Thread Trevor
Try this:
iframe { *-webkit-transform:translate3d(0,0,0)*; }


On Thursday, June 17, 2010 1:02:58 AM UTC-7, petomane wrote:
>
> Hi, 
>
> My google maps API 3 page is experiencing some problems in Chrome and 
> Safari. 
>
> http://takemethereboris.co.uk/ 
>
> I am trying to play a youtube video in an InfoWindow. This works fine 
> in FF and IE, but in Chrome and Safari the results are patchy. 
> In Chrome some of the video player is obscured. 
> In Safari it is positioned in the wrong plage. 
> Also when the map is moved, the InfoWindow moves but the youtube video 
> does not. 
>
> I have tried position absolute, relative etc on video and container 
> elements. I have played with the flash parameters like scale and 
> wmode. 
>
> The html for the InfoWindow looks like this: 
>
> this.getContentWindowHTML = function() 
> { 
> return '' 
> + ''+ this.name +'' 
> +' height="'+LocationManager.VIDEO_HEIGHT+'">' 
> +'http://www.youtube.com/v/'+this.videoId 
> +'&autoplay=1">' 
> +' value="true">' 
> +' value="always">' 
> +'http://www.youtube.com/v/'+this.videoId+'&autoplay=1" 
> type="application/x-shockwave-flash" allowscriptaccess="always" 
> allowfullscreen="true" width="'+LocationManager.VIDEO_WIDTH+'" 
> height="'+LocationManager.VIDEO_HEIGHT+'">' 
> +'' 
> +'' 
> + ' src="images/ 
> wikipedia.gif" alt="find out more"/>' 
> +'' 
> +''; 
> } 
>
> any help much appreciated. 
>
> Henry 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/groups/opt_out.


[Google Maps API v3] Re: Infowindow - Unwanted scroll bars in Firefox, Chrome & Safari.

2012-08-22 Thread megapotz
You need to add one line to your CSS code:

#map_canvas div { line-height: normal ! important; }

where map_canvas is your div, where you're inserting your map.

If you encountered this issue, you have probably specified line-height to 1 em 
or less. This caused that issue.

-- 
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/-/jwQfpvONw08J.
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: Infowindow HTML code showing from JSON query

2012-02-26 Thread ST_webmas
Have you tried to use  as describet at this link
http://www.w3schools.com/tags/tag_br.asp ?

On 24 Feb, 19:01, Metro Mapper  wrote:
> I'm pulling JSON data for display on a map, but when I grab a JSON
> field that has HTML code (ie, ) the code shows in the infowindow
> instead of rendering as a line break.
>
> http://www.yourmapper.com/demo/v3infowindow.htm
>
> Any ideas on how to force rendering?
>
> The JSON call is in the code but here it is directly:
>
> http://www.yourmapper.com/api/markers.php?&lat=38.23282191&lon=-85.72...
>
> 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] Re: Infowindow HTML code showing from JSON query

2012-02-25 Thread Nianwei Liu
Seem caused by jquery. It escaped your content in the getJSON method.
You should either tell JQuery not doing that, or do extra unescape
when retrieving item.description.

On Feb 24, 1:01 pm, Metro Mapper  wrote:
> I'm pulling JSON data for display on a map, but when I grab a JSON
> field that has HTML code (ie, ) the code shows in the infowindow
> instead of rendering as a line break.
>
> http://www.yourmapper.com/demo/v3infowindow.htm
>
> Any ideas on how to force rendering?
>
> The JSON call is in the code but here it is directly:
>
> http://www.yourmapper.com/api/markers.php?&lat=38.23282191&lon=-85.72...
>
> 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] Re: Infowindow HTML code showing from JSON query

2012-02-24 Thread xelawho
you might consider escaping the br tags the way you do with the other
ones: 
-- 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: Infowindow blinking in firefox when there are images in it, (small images)

2012-02-20 Thread Darius
No, I didn't found. So maybe its not solvable? I think I should make
the same on completely blank page to see how it looks. Or you could
make yourself and then tell in the forum, it would be nice, because I
have other works to do now.

On Feb 20, 8:02 am, mmm  wrote:
> Hi,
>
> I also have this problem...have you found out why? Thanks
>
> On Feb 17, 5:34 pm, Darius  wrote:
>
>
>
>
>
>
>
> > Has anyone had such problem when I click on the marker, and when
> > infowindow pops up, it blinks several times on firefox. Not always,
> > but sometimes. I checked on other browser and it works fine, even on
> > IE7. So now I don't know if its even posible to fix, or is this some
> > firefox bug. When I don't use images, then there is no blinking. One
> > of the guys said, that even his video card fan starts working louder,
> > when he does this on firefox.
>
> > If this is in unknown issue, then maybe later I will make the code
> > seperately from project and show it.
>
> > If this is not worth wasting time, then please tell it, maybe its
> > because of some firefox bug.

-- 
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: Infowindow blinking in firefox when there are images in it, (small images)

2012-02-19 Thread mmm
Hi,

I also have this problem...have you found out why? Thanks

On Feb 17, 5:34 pm, Darius  wrote:
> Has anyone had such problem when I click on the marker, and when
> infowindow pops up, it blinks several times on firefox. Not always,
> but sometimes. I checked on other browser and it works fine, even on
> IE7. So now I don't know if its even posible to fix, or is this some
> firefox bug. When I don't use images, then there is no blinking. One
> of the guys said, that even his video card fan starts working louder,
> when he does this on firefox.
>
> If this is in unknown issue, then maybe later I will make the code
> seperately from project and show it.
>
> If this is not worth wasting time, then please tell it, maybe its
> because of some firefox bug.

-- 
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: Infowindow - Unwanted scroll bars in Firefox, Chrome & Safari.

2012-02-10 Thread Jason
jquery method - 



add this line to your click function for the infoWindow:

//remove overflow scrollbars
$('#myDiv').parent().css('overflow','');

-- 
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/-/QABGYg_pUowJ.
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: Infowindow with autocomplete textbox

2012-02-09 Thread geom
I figured out how to get it work.
The problem was, that fields in the infowindow doesn't exit, when the
script is called first.
These objects are created when the infowindow is build, when one
clicks on the marker.

I added the eventhandler onChange = 'getautosuggest()' to the fruit
select into the infowindow and wrapped the creation of the autosuggest
into the function getautosuggest().

Now everything works fine.

Here the parts I've changed:


//Autosuggest field using FCBKcomplete

function getautosuggest(){
$(document).ready(function(){
$("#sort").fcbkcomplete({
json_url: "get_sort_json.php?
&fruit="+document.getElementById('fruit').value+"",
addontab: false,
maxitems: 20,
input_min_size: 1,
height: 10,
cache: false,
newel: false,
select_all_text: "select"
});
});
}

and:


var html="Fruit  "+
 "select fruit"+
 "Apple"+
 "Pear"+
 "Cherry"+
 ""+
 "Sort  "+
 "";



Maybe this can help someone else


Georges

-- 
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: Infowindow with autocomplete textbox

2012-02-07 Thread geom
I've tried the following, which works fine outside a infowindow. But when I 
try to apply the autocomplete to a textfield inside an infowindow nothing 
happens.


//Autosuggest field using FCBKcomplete 

$(document).ready(function(){
$("#sort").fcbkcomplete({
json_url: "get_sort_json.php?&fruit="+ 
document.getElementById('fruit').value+"",
addontab: false,
maxitems: 20,
input_min_size: 1,
height: 10,
cache: false,
newel: false,
select_all_text: "select"
});
});   

//Create form in infowindow to add information to Marker 
var html="Fruit  "+
   "select 
fruit"+
   "Apple"+
   "Pear"+
   "Cherry"+ 
   ""+
"Sort  "+
 "";

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

//Add listener to map, to insert new Marker
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(18) ;  
google.maps.event.addListener(marker, "click", function() {
  infowindow.open(map, marker);
});
});



-- 
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/-/uQ9sprOx68IJ.
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: infoWindow of marker

2011-11-26 Thread Marcelo
Look up "function closure".

http://econym.org.uk/gmap/closure.htm

You need to create the markers in a separate function.

--
Marcelo - http://maps.forum.nu
--


On Nov 26, 8:42 am, john  wrote:
> This might be a javascript (on which I am weak) question. Here is
> sample code:
>
> var marker;
> var infoWindow;
>
> marker = new ... // first marker
> infoWindow = new ... // first infoWinfow.
>
>     google.maps.event.addListener(marker, 'click', function() {
>       infoWindow.open(map, marker);
>     });
>
>     markers.push(marker); // I am using marker manager
>
> marker = new ... // second marker
> infoWindow = new ... // second infoWinfow.
>
>     google.maps.event.addListener(marker, 'click', function() {
>       infoWindow.open(map, marker);
>     });
>     markers.push(marker); // I am using marker manager
>
> // and bunch more
>
> Now, no matter which marker I click, it always pop the infoWindow of
> the LAST marker. I know what the problem is. I don't know how to fix
> it. I could define var for each of the markers. But it's actually a
> loop with thousands of markers.
>
> Any suggestion?
>
> Thanks,
>
> John

-- 
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: InfoWindow dont work

2011-11-11 Thread Danilo Giaretta
Thnks man.

That work.

var infowindow = new google.maps.InfoWindow({
content: text
});
new geocoder.geocode( { 'address': address}, function(results,
status) {
var marker2 = new google.maps.Marker({map: map, //Criar o 
Marcador
position: results[0].geometry.location,
title:'Teste',
icon: icone});
google.maps.event.addListener(marker2, 'click', function() {
infowindow.open(map,marker2);
});
});

=D
On 10 nov, 18:11, Jeremy Geerdes  wrote:
> marker2 is not defined until the callback function is fired. Since the 
> geocoder works asynchronously, it will not be available for the next line of 
> code in the initial block. Move your infowindow and event.addListener calls 
> into the callback function that you pass the geocoder.
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> jrgeer...@gmail.com
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On Nov 10, 2011, at 5:54 AM, Danilo Giaretta wrote:
>
>
>
>
>
>
>
> >    new geocoder.geocode( { 'address': address}, function(results,
> > status) {
> >            var marker2 = new google.maps.Marker({map: map, //Criar o 
> > Marcador
> >            position: results[0].geometry.location,
> >            title:'Teste',
> >            icon:teste});
> >    });
>
> >    var infowindow = new google.maps.InfoWindow({
> >            content: texto
> >    });
>
> >    google.maps.event.addListener(marker2, 'click', function() {
> >      infowindow.open(map,marker2);
> >    });
>
> > Why that dont work?
> > i want create a marker with data of datebase. But on load, that dont
> > work and say 'marker2 is not defined'.
>
> > anyone know?
> > thanks
>
> > -
>
> > Por que isso não funciona?
> > Eu quero criar os marker com meus dados vindo do banco de dados.
> > Porem não funciona, ele criar os marker mas não consegue associar o
> > infowindow nele.
>
> > Obrigado.
>
> > --
> > 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 
> > athttp://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: infowindow behavior...

2011-10-14 Thread geocode...@gmail.com
On Oct 14, 8:21 am, "geocode...@gmail.com" 
wrote:
> On Oct 14, 7:25 am, felixweb  wrote:
>
> > No help? I'm getting disperate!
>
> your original message:
> On Oct 13, 6:58 am, felixweb  wrote:
>
> > Hello,
>
> > i'm trying to build a map for my website and i have a behavior i am not able
> > to solve... I don't know if this is due to my limited knowledge of
> > javascript or to my limited knowledge of Gmaps but...
>
> >http://www.felixweb.it/italia2011f.html
>
> > here is the map. The code should be downloadable... As you can see in the
> > baloon i put the place and a number, the number should be proressive from
> > the i variable, but i get the latest value in every baloon (the goal is to
> > put the different dates in riga[2] in the infowindows...).
>
> > What am i doing wrong? :(
>
> Seems to be working correctly to me (in Firefox on Linux).
> Geocoding addresses of known points every time you load the map is bad
> practice, you should geocode the points off-line and use the resulting
> coordinates to place the markers.

Works for me in IE(8) also.  I do get a javascript error (I don't
remember seeing it before):

Message: 'bounds' is undefined
Line: 63
Char: 2
Code: 0
URI: http://www.felixweb.it/italia2011f.html


   -- 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: infowindow behavior...

2011-10-14 Thread alexandroid
Well you are using riga[2] and its value is the same at the time when
all geocoder callbacks are called.

I think you may want to try to add "var" to riga declaration, i.e. var
riga = listah[i].split(';');

Use Firebug in Chrome or Firefox to set breakpoints in your javascript
and you would be able to see values during execution.

~Alex

On Oct 13, 6:58 am, felixweb  wrote:
> Hello,
>
> i'm trying to build a map for my website and i have a behavior i am not able
> to solve... I don't know if this is due to my limited knowledge of
> javascript or to my limited knowledge of Gmaps but...
>
> http://www.felixweb.it/italia2011f.html
>
> here is the map. The code should be downloadable... As you can see in the
> baloon i put the place and a number, the number should be proressive from
> the i variable, but i get the latest value in every baloon (the goal is to
> put the different dates in riga[2] in the infowindows...).
>
> What am i doing wrong? :(

-- 
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: infowindow behavior...

2011-10-14 Thread Rossko
> http://www.felixweb.it/italia2011f.html

Your variable 'map' is undeclared, may give different results in
different browsers (doesn't work at all in IE for me)

Your code
geocoder.geocode( { 'address': luogo}, function(results, status) {
   
   data = riga[2];
Your variable 'riga' is undeclared, different browsers etc.  Some will
assume you meant a global variable.
The geocode() call just fires off a request, your loop rolls on and
replaces 'riga' with the values for the next marker, fires off another
request, etc.
At the end of the loop, 'riga' is left at the last set of values.
Sometime later, the results come back from Google and the callback
function runs, using riga[2] ... which will be that for the last
marker.

-- 
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: infowindow behavior...

2011-10-14 Thread geocode...@gmail.com
On Oct 14, 7:25 am, felixweb  wrote:
> No help? I'm getting disperate!

your original message:
On Oct 13, 6:58 am, felixweb  wrote:
> Hello,
>
> i'm trying to build a map for my website and i have a behavior i am not able
> to solve... I don't know if this is due to my limited knowledge of
> javascript or to my limited knowledge of Gmaps but...
>
> http://www.felixweb.it/italia2011f.html
>
> here is the map. The code should be downloadable... As you can see in the
> baloon i put the place and a number, the number should be proressive from
> the i variable, but i get the latest value in every baloon (the goal is to
> put the different dates in riga[2] in the infowindows...).
>
> What am i doing wrong? :(

Seems to be working correctly to me (in Firefox on Linux).
Geocoding addresses of known points every time you load the map is bad
practice, you should geocode the points off-line and use the resulting
coordinates to place the markers.

  -- 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: infowindow behavior...

2011-10-14 Thread felixweb
No help? I'm getting disperate!

-- 
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/-/sWObP82vik0J.
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: infowindow width

2011-10-12 Thread alexandroid
...or you could make a completely custom info window without rounding
corners which would allow you to make margins smaller while keeping it
readable: 
http://stackoverflow.com/questions/3860277/google-maps-how-to-create-a-custom-infowindow

On Oct 11, 5:39 am, rmcguire  wrote:
> would removing the padding and possibly setting the height and width
> from within there possibly set the dimensions of the infowindow
> correctly? Also do I put my div around each of my functions which
> calls the infowindow?
>
> my page again is atwww.meadowlarkco.com/contactus.php
>
> Thanks for any help provided.
>
> On Oct 10, 3:39 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
>
>
> > On Oct 10, 2:34 pm, "geocode...@gmail.com" 
> > wrote:
>
> > > On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > > > I got Not Found on your link.
>
> > > The group is mangling the link (pre-pendingwww.google.comtoit), see
> > > if this works:
>
> > >http://www.meadowlarkco.com/contactus.php
>
> > > To the OP:
> > >   This is a general css/html question, not really map specific.  Try
> > > searching the 
> > > web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
> > >   But my guess is that the contents of the infowindow is too big for
> > > it to fit on the map.  You might want to remove some of the extraneous
> > > white space.
>
> >  You may also want to make the "shared borders" of the regions be the
> > same points, it looks strange the way you have it now with the two
> > "West Sales" areas different colors and overlaping.
>
> >    -- Larry- Hide quoted text -
>
> > - Show quoted text -

-- 
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: infowindow width

2011-10-12 Thread alexandroid
I am not sure how to remove the whitespace, but you should think twice
about that, since it will look bad without whitespace.

The reason why you are getting vertical scrollbar is because your info
window max height is limited by the map height which is too narrow.
Looks like there is some predefined margin above info window and top
edge of the map, so info window gets squished to lower size and gets a
scrollbar.

To remove it, you need to use CSS and set "overflow:hidden" to your
DIV which has entire content. Or add that DIV if you did not do that
yet.

However, it will crop a bottom of the photo of the second person in
your info window.

See example at 
http://code.google.com/apis/maps/documentation/javascript/overlays.html#InfoWindows
In that example you would write " to guarantee no scroll bars.

Thanks,
Alex

On Oct 11, 5:39 am, rmcguire  wrote:
> would removing the padding and possibly setting the height and width
> from within there possibly set the dimensions of the infowindow
> correctly? Also do I put my div around each of my functions which
> calls the infowindow?
>
> my page again is atwww.meadowlarkco.com/contactus.php
>
> Thanks for any help provided.
>
> On Oct 10, 3:39 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
>
>
> > On Oct 10, 2:34 pm, "geocode...@gmail.com" 
> > wrote:
>
> > > On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > > > I got Not Found on your link.
>
> > > The group is mangling the link (pre-pendingwww.google.comtoit), see
> > > if this works:
>
> > >http://www.meadowlarkco.com/contactus.php
>
> > > To the OP:
> > >   This is a general css/html question, not really map specific.  Try
> > > searching the 
> > > web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
> > >   But my guess is that the contents of the infowindow is too big for
> > > it to fit on the map.  You might want to remove some of the extraneous
> > > white space.
>
> >  You may also want to make the "shared borders" of the regions be the
> > same points, it looks strange the way you have it now with the two
> > "West Sales" areas different colors and overlaping.
>
> >    -- Larry- Hide quoted text -
>
> > - Show quoted text -

-- 
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: infoWindow for every set of coordinates on polyline

2011-10-11 Thread fable
oh, cool.  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/-/j1_WbNRGB5AJ.
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: infowindow width

2011-10-11 Thread rmcguire
would removing the padding and possibly setting the height and width
from within there possibly set the dimensions of the infowindow
correctly? Also do I put my div around each of my functions which
calls the infowindow?

my page again is at www.meadowlarkco.com/contactus.php


Thanks for any help provided.

On Oct 10, 3:39 pm, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:34 pm, "geocode...@gmail.com" 
> wrote:
>
>
>
>
>
> > On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > > I got Not Found on your link.
>
> > The group is mangling the link (pre-pendingwww.google.comtoit), see
> > if this works:
>
> >http://www.meadowlarkco.com/contactus.php
>
> > To the OP:
> >   This is a general css/html question, not really map specific.  Try
> > searching the 
> > web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
> >   But my guess is that the contents of the infowindow is too big for
> > it to fit on the map.  You might want to remove some of the extraneous
> > white space.
>
>  You may also want to make the "shared borders" of the regions be the
> same points, it looks strange the way you have it now with the two
> "West Sales" areas different colors and overlaping.
>
>    -- Larry- Hide quoted text -
>
> - Show quoted text -

-- 
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: infowindow width

2011-10-11 Thread rmcguire
how do I go about removing the extra white spacebaiscally Im just
trying to remove the scroll bars.

thanks

On Oct 10, 3:34 pm, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > I got Not Found on your link.
>
> The group is mangling the link (pre-pendingwww.google.comto it), see
> if this works:
>
> http://www.meadowlarkco.com/contactus.php
>
> To the OP:
>   This is a general css/html question, not really map specific.  Try
> searching the 
> web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
>   But my guess is that the contents of the infowindow is too big for
> it to fit on the map.  You might want to remove some of the extraneous
> white space.
>
>   -- 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: infowindow width

2011-10-10 Thread geocode...@gmail.com
On Oct 10, 2:34 pm, "geocode...@gmail.com" 
wrote:
> On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
>
> > I got Not Found on your link.
>
> The group is mangling the link (pre-pendingwww.google.comto it), see
> if this works:
>
> http://www.meadowlarkco.com/contactus.php
>
> To the OP:
>   This is a general css/html question, not really map specific.  Try
> searching the 
> web.http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20...
>
>   But my guess is that the contents of the infowindow is too big for
> it to fit on the map.  You might want to remove some of the extraneous
> white space.

 You may also want to make the "shared borders" of the regions be the
same points, it looks strange the way you have it now with the two
"West Sales" areas different colors and overlaping.

   -- 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: infowindow width

2011-10-10 Thread geocode...@gmail.com
On Oct 10, 2:10 pm, Joseph Elfelt  wrote:
> I got Not Found on your link.

The group is mangling the link (pre-pending www.google.com to it), see
if this works:

http://www.meadowlarkco.com/contactus.php

To the OP:
  This is a general css/html question, not really map specific.  Try
searching the web.
http://www.google.com/search?client=gmail&rls=gm&q=remove%20scroll%20bars

  But my guess is that the contents of the infowindow is too big for
it to fit on the map.  You might want to remove some of the extraneous
white space.

  -- 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: infowindow width

2011-10-10 Thread Joseph Elfelt
I got Not Found on your link.

-- 
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: infowindow width

2011-10-10 Thread rmcguire
actually I believe I'll put the image below the name, email, but how
can you set the height and width of the infowindow to eliminate the
scroll bars?

thanks

On Oct 10, 1:40 pm, rmcguire  wrote:
> Hello,
>
> at my page atwww.meadowlarkco.com/contactus.phpwhen you click on the
> eastern region, how can I eliminate the gap between the email address
> and the employee's name?
>
> 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.



Re: [Google Maps API v3] Re: infowindow content

2011-10-10 Thread Andrew Leach
On 10 October 2011 15:44, rmcguire  wrote:
> from what I have here:
>
> var contentString = "West SalesJohn Doe>""mailto:j...@meadowlarkco.com"";;
>
> then I pass contentString into
>
> infowindow.setContent(contentString);

All that will do is put the text into the infoWindow. It won't create
a mailto link. For that you need to insert
"j...@meadowlarkco.com"

var contentString="..";

Note the alternating quote styles.

> Also if I wanto add img's do I just do an ?

Yes, as I said. Again, you need to be careful about nesting
apostrophes with the outer quotes.

-- 
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: infowindow content

2011-10-10 Thread rmcguire
from what I have here:

var contentString = "West SalesJohn Doe""mailto:j...@meadowlarkco.com"";;

then I pass contentString into

infowindow.setContent(contentString);


Also if I wanto add img's do I just do an ?


thanks





On Oct 7, 12:26 pm, Andrew Leach  wrote:
> On 7 October 2011 19:01, rmcguire  wrote:
>
>
>
> > is it possible to add a mailto for the email address.also if we
> > want to add images can you simply do a  tag within my content
> > string?
>
> Yes to both. You do need to be careful about nesting quotes correctly.

-- 
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: infoWindow for every set of coordinates on polyline

2011-10-05 Thread xelawho
I sent you a reply to this on your other thread (which was a bit
confusing I admit, sorry):
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/f03c85d83d1f2ffb#

-- 
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: infoWindow for every set of coordinates on polyline

2011-10-04 Thread fable
Thanks Larry,

Any chance you could clarify a bit?  I'm having trouble figuring out which 
bits of code are necessary and which are not.  Here's how I have the markers 
set up now.  Does this need to change?  Is there a way to add the 
infoWindows in to what I already have? 

cheers, selene

/

var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);

  var flightPlanCoordinates = [
new google.maps.LatLng(6.787, -157.363),
new google.maps.LatLng(6.703, -157.639), 
(etc,etc)
];

  var flightPath = new google.maps.Polyline({
path: flightPlanCoordinates,
strokeColor: "white",
strokeOpacity: 1.0,
strokeWeight: 3
  });
 for (var g = 0; g < flightPlanCoordinates.length; g++) { 
var marker = new google.maps.Marker({ 
position: flightPlanCoordinates[g], 
map: map, 
title: 'Blip',
icon: 'http://messagebottleproject.com/images/Pin-sm.png', 
}); 
 }
  flightPath.setMap(map);
  }

-- 
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/-/DtZo0PvMLngJ.
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: infoWindow for every set of coordinates on polyline

2011-10-02 Thread geocode...@gmail.com
On Oct 2, 8:25 pm, fable  wrote:
> Hi,
>
> I'm wondering if anyone could help me figure out how to add an infoWindow to
> each marker (each a set of coordinates on a polyline) that displays the set
> of coordinates that corresponds to that marker.
>
> Here is the map:http://www.messagebottleproject.com 

See this example (ported from Mike Williams' v2 tutorial):
http://www.geocodezip.com/v3_MW_example_map1.html

if you do (where the createMarker function is from the example above):
createMarker(latLng, latLng);
The html in the infowindow will contain the coordinates of the point.

  -- Larry

>
> Thanks in advance!

-- 
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: Infowindow - Unwanted scroll bars in Firefox, Chrome & Safari.

2011-09-30 Thread xelawho
somebody came up with a much simpler solution which worked for me.
maybe it will work for you, too:

content='whatever you want'
var div = document.createElement('div');
div.innerHTML = content;
infowindow.setContent(div);

-- 
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: Infowindow - Unwanted scroll bars in Firefox, Chrome & Safari.

2011-09-30 Thread David M
Glad I stumbled up the solutions of this page, especially the 
simple genius of setting the parent/parent-parent to *overflow:none*. 
 Brilliant.

In my attempts to figure out what was happening, I stumbled up the following 
*in my context (only?)*: adjusting the font-size of the last line affected 
the presence of scroll bars (vertical).

For what it's worth, my hacked solution is to add a single line to the end 
of the content of the InfoWindow with a font-size of 20%.  For example (see 
the end of the second line):
   var infowindow = new google.maps.InfoWindow();
   infowindow.setContent("Lots of stuff here, including inline spans if 
desired.* *");

For some reason, this made the scroll bars not show up.  This option 
(hack?!) allowed me to put dynamically created content into the InfoWindow 
wherein I simply add the " tag from the first line 
which was a relatively long sentence.  Having the  tag made the scroll 
bars come back.

Not even a full "two cents",
David

-- 
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/-/XkgzIZAKIOYJ.
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: infowindow position during pan/zoom

2011-09-28 Thread pi5701
i dont have any positioning problems of infowindow on this example, too.

but on fusiontable layers i get this behavior.

already posted some bugreport here:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2817&q=misplaced&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Internal%20Stars

example:
http://www.google.com/fusiontables/DataSource?dsrcid=284507 

forum post:
http://code.google.com/intl/en-EN/apis/maps/documentation/javascript/forum.html




-- 
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/-/Wt8b-GRDlWAJ.
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: infowindow position during pan/zoom

2011-09-27 Thread arclyte
What browser are you seeing this issue in?  Just tested in Chrome (14.0) and 
Safari 5.1 and it works as expected with the infowindow still centered over 
the icon regardless of zoom.

-- 
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/-/aGXGUmS2LjIJ.
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: infowindow position during pan/zoom

2011-09-21 Thread webdevelopernyc
Just to elaborate a little further -- I'm migrating an app that used Google 
Maps v2.  In that case, there is no problem at all zooming the map while 
InfoWindows remain open.

Does the v3 library require you to provide your own code to reposition open 
infowindows after a zoom -- maybe through a function called by the Map's 
zoom_changed event.

Thanks for any enlightenment.


-- 
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/-/57woEjPrvsEJ.
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: Infowindow link to Panel URL

2011-09-19 Thread Rossko
> I have to provide a link in Google Map Infowindow like  href="localhost:8080/xyzPanel">
> The Following code need to be exposed as /xyzPanel.

Doesn't seem to have anything to do with Maps API ?

-- 
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: Infowindow with a div inside

2011-09-16 Thread xelawho
as far as I am aware, the recommended procedure is to create one
infowindow and change its content and position with setContent and
setPosition (unless you want multiple infowindows showing
simultaneously).

from what I can tell, overriding an infowindow's contents removes the
previous contents from the DOM. But it means that once set, there will
always be one lot of contents in the DOM. It would have to be a very
large contents for it to make any real difference on most computers,
though.

dunno if that's relevant, but I thought I might mention it.

-- 
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: Infowindow with a div inside

2011-09-16 Thread Pil


On Sep 16, 1:37 pm, Gianpiero Venditti 
wrote:
would like to know if there are some guidelines to delete an
infowindow
> and free its memory when a marker is deleted from the map.


I don't know such a guideline. So in fact it seems that you detected
an unclosed gap.

For most of the developers I'd suspect the whole subject isn't very
important, because the main intention is to get a running map and
that's it.

In addition to what Florian already said I'd suggest storing the
listeners for removable objects so that they can be cleanly
unregistered when no more needed.

Unfortunately this all is certainly not a sufficient treatment of the
subject.


-- 
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: Infowindow with a div inside

2011-09-16 Thread Florian Behr
If you want to remove the DOM and the object you use the close() method
(DOM) and then set your var to null (memory) to ensure that
it's being properly garbage collected.

On Fri, Sep 16, 2011 at 1:37 PM, Gianpiero Venditti <
gianpiero.vendi...@gmail.com> wrote:

> Actually I don't have a working example yet.
>
> Since i'm planning an application with an embed google map which will need
> to move markers at regular intervals i was just giving a look at the api.
>
> So it came to me the question about the destruction of the infowindow and
> the release of the memory.
>
> I would like to know if there are some guidelines to delete an infowindow
> and free its memory when a marker is deleted from the map.
>
> --
> 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/-/K5gyrrfNclIJ.
>
> 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: Infowindow with a div inside

2011-09-16 Thread Gianpiero Venditti
Actually I don't have a working example yet.

Since i'm planning an application with an embed google map which will need 
to move markers at regular intervals i was just giving a look at the api.

So it came to me the question about the destruction of the infowindow and 
the release of the memory.

I would like to know if there are some guidelines to delete an infowindow 
and free its memory when a marker is deleted from the map.

-- 
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/-/K5gyrrfNclIJ.
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: Infowindow with a div inside

2011-09-16 Thread Pil
Can you provide a link to your map?


On Sep 16, 12:42 pm, Gianpiero Venditti 
wrote:
> Ok thanks, but then what's the best way to delete an infowindow?
>
> In the api reference i don't see anything in particular except for the
> close() method.
>
> And also what's the best way to delete the internal div I created for the
> content?

-- 
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: Infowindow with a div inside

2011-09-16 Thread Gianpiero Venditti
Ok thanks, but then what's the best way to delete an infowindow?

In the api reference i don't see anything in particular except for the 
close() method.

And also what's the best way to delete the internal div I created for the 
content?

-- 
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/-/yH1W1B6Jbo0J.
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: Infowindow with a div inside

2011-09-16 Thread Pil
Yes, I think the question is important because it's an issue of
efficiency.

Don't think that some related element or a corresponding event
listener is removed 'automatically' when the marker is removed from
the map. Can definitely make sense to remove them separately and every
time after they have been used and additionally to delete the marker
object - especially when otherwise many ot them are existing in the
'background' memory.






On Sep 16, 10:58 am, Gianpiero Venditti 
wrote:
> Thanks for the quick answer, maybe i explained myself bad.
>
> What i would like to know is this:
>
> 1 - I create a visible marker with an infowindow that contains a div
> 2 - I remove this marker from the map using marker.setMap(null)
>
> Do i have to take care of removing the infowindow element or the removal is
> automatic when its correspondent marker is removed?

-- 
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: Infowindow with a div inside

2011-09-16 Thread Gianpiero Venditti
Thanks for the quick answer, maybe i explained myself bad.

What i would like to know is this:

1 - I create a visible marker with an infowindow that contains a div
2 - I remove this marker from the map using marker.setMap(null)

Do i have to take care of removing the infowindow element or the removal is 
automatic when its correspondent marker is removed?

-- 
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/-/fCDJ9MXMRUYJ.
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: Infowindow with a div inside

2011-09-16 Thread Pil
Not sure about the intention of your question.

Infowindows do constist of many many divs. Sould not matter very much
when you create a further div that contains your content.

I'd suggest to have a look at the DOM structure of infowindows using
Firebug. There you can also see the results when certain divs are
removed.

Why do you want to remove the infowindow after it's being used? The
Maps API is not designed to do that. I think you should let the API do
it's own job unless you detect that it does it's job extremly
inefficient.

Even in this case you should be aware: Manipulating the DOM
subsequently and from outside is probably inefficient anyway.

So it's generally no good idea to change the DOM created by the API.
If you detected a bug or a reproducable memory leak,  why don't you
report that?




On Sep 16, 9:55 am, Gianpiero Venditti 
wrote:
> Hello, I have a doubt about the infowindow behaviour.
> Let's say that I construct an infowindow with a div inside and i connect it
> to a marker with a listener.
>
> Then if i want to remove the infowindow what's the best way to do it in
> order to release memory occupied by the infowindow?
>
> And also do i have to explicitly remove the div inside the infowindow from
> the DOM?
>
> Thanks in advance for the help.

-- 
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: infowindow hyperlink to gwtpanel

2011-09-13 Thread xelawho
> I have a gwt panel where I wish to go when i click a hyperlink in map
> infowindow. Please let me know how to cover this usecase.

on the information given, it seems you would just add the link to your
infowindow html.

a little hard to go into specifics without more detail...

-- 
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: infowindow V3 with jquery tabs with correct resizing

2011-09-09 Thread MymsMan
I have been using a variation of this technique (not using jquery) with a 
reasonable degree of success but have encountered a few minor niggles mainly 
related to Internet Explorer.

   - Sometimes with large infowindow content it overflows the bottom of the 
   window and I have not yet worked out a scheme for predicting when that will 
   occur or suitable CSS styling for conditional scroll bars (It hasn't been a 
   priority to solve)
   - I am building multiple markers and infowindows in a loop and it was 
   fine in Firefox, Chrome, Safari but in IE I found that the infowindows were 
   blank apart from the last.  It appeared for some reason the setContent 
   hadn't worked.   This was easily fixed by adding to the click handler for 
   the marker a condition setContent
  if (document.getElementById('content'+ix))
   {
  
   evntObj.infowindow.setContent(document.getElementById('content'+ix));
 
   
   }
   - IE9 is as good as the other browsers for not overflowing windows but 
   IE8 is particularly prone to overflowing or if given scroll bars formatting 
   a window with room only for scroll bars with no visible text!
   
   

-- 
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/-/dQeSDIFEBhMJ.
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: infowindow V3 with jquery tabs with correct resizing

2011-09-08 Thread xelawho
> We have find out solution how to finally always show correct size of
> infowindow with jquery tabs, without annoying scrollbars or
> anything :)

nice. seems to work for properly sizing infowindows with non-jquery
content as well (but I have been wrong on this one before).

-- 
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: Infowindow tabs

2011-08-31 Thread Rossko
> I wish to do a proof of concept where tabs are required in a infowindow.

Search this group
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=infowindow+tabs

-- 
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: infowindow outside of the map

2011-08-29 Thread Rossko
> i know this site is create a div  in body itself and cal the position
> but i just want use infowindow?

Infowindows must be on the map, it's what they do.
If you want something outside the map, create your own div and put it
where you like outside of the the map.

-- 
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: InfoWindow: Setting lang attribute inside div tag not working

2011-08-16 Thread geocode...@gmail.com
On Aug 16, 10:32 pm, harikris  wrote:
> Hi All,
>
> I am trying to set language attribute to some value other than
> "en" [say "ko"] inside a div tag. The content string that i create in
> this way is being used to set the InfoWindow's setContent(). But
> unfortunately, i continue to see the text in English rather than the
> lang value i have set it to.
>
> Here's the relevant pieces of code:
>
> content_string = ' lang="ko" xml:lang="ko">' + biz_name_html + '' + biz_addr + ''
> + biz_url_html + '' + biz_phone + '' + biz_description + ' div>';
>
>                 marker = new google.maps.Marker({
>                     position: latlng,
>                     map: map,
>                     title: biz_name,
>                     html: content_string,
>                     icon: new google.maps.MarkerImage(marker_icon_url)
>                 });
>                 google.maps.event.addListener(marker, 'click', function() {
>                     info_window.setContent(this.html);
>                     info_window.open(map, this);
>                 });
>
> Please help.

What makes you believe that will work?
What does that have to do with the Google Maps JavaScript API v3
(other than it is in an infowindow)?
(would you expect that to work on a regular web page?)

  -- Larry

>
> 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] Re: InfoWindow Problems with Maps & Fusion Tables Combined

2011-08-04 Thread geocode...@gmail.com
On Aug 4, 5:38 pm, "geocode...@gmail.com" 
wrote:
> On Aug 4, 4:54 pm, "geocode...@gmail.com" 
> wrote:
>
> > On Aug 4, 2:06 pm, "Matthew W. Shepherd"
>
> >  wrote:
> > > I'm developing an interactive map based on Fusion Tables data at the
> > > following test 
> > > URL:http://library.sc.edu/digital/collections/greenbook_map_test.html
>
> > > There are two primary errors involving InfoWindows that I've run into:
>
> > > 1.) When a marker is clicked on the map, the corresponding InfoWindow
> > > displays; however, when a data row is selected from the DataTable, the
> > > previous map-selected InfoWindow does not close. I've included
> > > "if(infowindow) infowindow.close();" in the selectHandler() function,
> > > but this apparently does not affect the map-selected InfoWindows.
>
> > Only create one infowindow.  Reuse it to display any contents.
>
> > > The close function does close each DataTable-selected InfoWindow when
> > > a new DataTable row is selected. Moreover, if a DataTable-selected
> > > InfoWindow is open, selecting a marker on the map itself causes the
> > > DataTable-selected InfoWindow to close properly.
>
> > > 2.) Apparently related to this issue with calling InfoWindows: I want
> > > all InfoWindows to include a "Zoom here" link. The code for DataTable-
> > > selected InfoWindows does this properly, zooming the map in with the
> > > selected marker at the center. However, I have been unable to make
> > > this work for map-selected InfoWindows. Using
> > > "map.setCenter(marker.getPosition());" and
> > > "map.setCenter(infowindow.getPosition());" did not work properly for
> > > me. The latter turned out to zoom in at the most recent DataTable-
> > > selected InfoWindow location (or outside the map if none was
> > > previously selected). Using "e.latLng" comes close, but zooms in on
> > > the point where the map was clicked, rather than on the marker itself.
>
> > Theoretically, event.LatLng should work based on the documentation:
> > latLng  LatLng  The position at which to anchor an infowindow on the
> > clicked feature.
>
> > However, if that isn't working, you have the row data available in in
> > the click event also:
> > row     Object  A collection of FusionTablesCell objects, indexed by
> > column name, representing
> >                 the contents of the table row which included the
> > clicked feature.
>
> > Parse the latitude and longitude out of the "geometry" column in the
> > row just like you do in the select handler.
>
> Oops, that no longer seems to be there.
>
> Therefore the fact that the latLng in the event is the "clicked"
> position, rather than the documented "position at which to anchor an
> infowindow on the clicked feature." (i.e. the actual location of the
> feature), this has to be classed as a bug.  Someone should create an
> issue in the issue tracker.

Amigo Motel & Cafe
first click at original zoom:
(35.17380831799959, -103.7109375)
second click (after "zoom here"):
(35.1715632080029, -103.70269775390625)
third click (after another "zoom here"):
(35.17187893034227, -103.70400667190552)
fourth click (after another "zoom here"):
(35.17187893034227, -103.70399862527847)

Value in FusionTable:
-103.70400,35.171879,0.0-103.70400,35.171879,0.0>

    -- Larry

>
> > > I believe that both of these problems are due to some error on my part
> > > in not declaring the infowindow variable correctly. I hope that
> > > there's some simple issue I'm overlooking that will set both of these
> > > straight. Thank you in advance, and I hope my (admittedly learning-as-
> > > I-go) code's otherwise up to snuff!

-- 
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: InfoWindow Problems with Maps & Fusion Tables Combined

2011-08-04 Thread geocode...@gmail.com
On Aug 4, 4:54 pm, "geocode...@gmail.com" 
wrote:
> On Aug 4, 2:06 pm, "Matthew W. Shepherd"
>
>  wrote:
> > I'm developing an interactive map based on Fusion Tables data at the
> > following test 
> > URL:http://library.sc.edu/digital/collections/greenbook_map_test.html
>
> > There are two primary errors involving InfoWindows that I've run into:
>
> > 1.) When a marker is clicked on the map, the corresponding InfoWindow
> > displays; however, when a data row is selected from the DataTable, the
> > previous map-selected InfoWindow does not close. I've included
> > "if(infowindow) infowindow.close();" in the selectHandler() function,
> > but this apparently does not affect the map-selected InfoWindows.
>
> Only create one infowindow.  Reuse it to display any contents.
>
>
>
>
>
> > The close function does close each DataTable-selected InfoWindow when
> > a new DataTable row is selected. Moreover, if a DataTable-selected
> > InfoWindow is open, selecting a marker on the map itself causes the
> > DataTable-selected InfoWindow to close properly.
>
> > 2.) Apparently related to this issue with calling InfoWindows: I want
> > all InfoWindows to include a "Zoom here" link. The code for DataTable-
> > selected InfoWindows does this properly, zooming the map in with the
> > selected marker at the center. However, I have been unable to make
> > this work for map-selected InfoWindows. Using
> > "map.setCenter(marker.getPosition());" and
> > "map.setCenter(infowindow.getPosition());" did not work properly for
> > me. The latter turned out to zoom in at the most recent DataTable-
> > selected InfoWindow location (or outside the map if none was
> > previously selected). Using "e.latLng" comes close, but zooms in on
> > the point where the map was clicked, rather than on the marker itself.
>
> Theoretically, event.LatLng should work based on the documentation:
> latLng  LatLng  The position at which to anchor an infowindow on the
> clicked feature.
>
> However, if that isn't working, you have the row data available in in
> the click event also:
> row     Object  A collection of FusionTablesCell objects, indexed by
> column name, representing
>                 the contents of the table row which included the
> clicked feature.
>
> Parse the latitude and longitude out of the "geometry" column in the
> row just like you do in the select handler.

Oops, that no longer seems to be there.

Therefore the fact that the latLng in the event is the "clicked"
position, rather than the documented "position at which to anchor an
infowindow on the clicked feature." (i.e. the actual location of the
feature), this has to be classed as a bug.  Someone should create an
issue in the issue tracker.

   -- Larry

>
>
> > I believe that both of these problems are due to some error on my part
> > in not declaring the infowindow variable correctly. I hope that
> > there's some simple issue I'm overlooking that will set both of these
> > straight. Thank you in advance, and I hope my (admittedly learning-as-
> > I-go) code's otherwise up to snuff!
>
>

-- 
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: InfoWindow Problems with Maps & Fusion Tables Combined

2011-08-04 Thread geocode...@gmail.com
On Aug 4, 2:06 pm, "Matthew W. Shepherd"
 wrote:
> I'm developing an interactive map based on Fusion Tables data at the
> following test 
> URL:http://library.sc.edu/digital/collections/greenbook_map_test.html
>
> There are two primary errors involving InfoWindows that I've run into:
>
> 1.) When a marker is clicked on the map, the corresponding InfoWindow
> displays; however, when a data row is selected from the DataTable, the
> previous map-selected InfoWindow does not close. I've included
> "if(infowindow) infowindow.close();" in the selectHandler() function,
> but this apparently does not affect the map-selected InfoWindows.

Only create one infowindow.  Reuse it to display any contents.

>
> The close function does close each DataTable-selected InfoWindow when
> a new DataTable row is selected. Moreover, if a DataTable-selected
> InfoWindow is open, selecting a marker on the map itself causes the
> DataTable-selected InfoWindow to close properly.
>
> 2.) Apparently related to this issue with calling InfoWindows: I want
> all InfoWindows to include a "Zoom here" link. The code for DataTable-
> selected InfoWindows does this properly, zooming the map in with the
> selected marker at the center. However, I have been unable to make
> this work for map-selected InfoWindows. Using
> "map.setCenter(marker.getPosition());" and
> "map.setCenter(infowindow.getPosition());" did not work properly for
> me. The latter turned out to zoom in at the most recent DataTable-
> selected InfoWindow location (or outside the map if none was
> previously selected). Using "e.latLng" comes close, but zooms in on
> the point where the map was clicked, rather than on the marker itself.

Theoretically, event.LatLng should work based on the documentation:
latLng  LatLng  The position at which to anchor an infowindow on the
clicked feature.

However, if that isn't working, you have the row data available in in
the click event also:
row Object  A collection of FusionTablesCell objects, indexed by
column name, representing
the contents of the table row which included the
clicked feature.

Parse the latitude and longitude out of the "geometry" column in the
row just like you do in the select handler.

  -- Larry

>
> I believe that both of these problems are due to some error on my part
> in not declaring the infowindow variable correctly. I hope that
> there's some simple issue I'm overlooking that will set both of these
> straight. Thank you in advance, and I hope my (admittedly learning-as-
> I-go) code's otherwise up to snuff!

-- 
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: InfoWindow problem: bad/wrong visualization

2011-07-21 Thread sitetete
holy sh, it was so easy, thank you very much Rossko, it worked :)
moreover that line in the css was totally unuseful.
thanks again

-- 
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/-/D0Fwd9Xk2FAJ.
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: InfoWindow problem: bad/wrong visualization

2011-07-21 Thread Rossko
> here's the link 

[Google Maps API v3] Re: Infowindow vertical scrollbar instead of correct autosizing

2011-07-12 Thread Esa
I been waiting that someone would come up with some exact information
but I quess there is no such information. If you search "vertical
scrollbars" on this forum, you find some lengthy discussions with no
consensus.

Info window autosizing works perfect mostly but there are some
exceptions that no-one knows. Just make your html as simple as
possible. Avoid margins and paddings. Avoid maxWidth. Forget
autosizing and define a size to your content if possible.

In your case it would be easiest to set "height: 40px" for the outer
div of html.

-- 
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: Infowindow vertical scrollbar instead of correct autosizing

2011-07-11 Thread Martin
Yes, it does come with the data. I tried it with inline style. As you
can see, not very successfully...

The parsed xml looks like this (description tag is the interesting
part):












-- 
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: Infowindow vertical scrollbar instead of correct autosizing

2011-07-11 Thread Esa
I can see in info window content DOM:

margin-bottom: 5px

but didn't find it in CSS. Does it come with your data?

-- 
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: Infowindow vertical scrollbar instead of correct autosizing

2011-07-11 Thread Martin
Sorry to bother you again, but this didn't solve the whole problem. At
first I was happy, but then I discovered, that it only worked for this
particular marker. There dozens of others where it doesn't. The
following page shows the lot: 
http://portal.sef-energietechnik.de/unsere-referenzen/

The problems seems to appear, when the smaller text uses more than one
line.

Any toughts? I can't be the only one using HTML inside the infowindow,
can I?

Greetings, Martin

-- 
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: Infowindow vertical scrollbar instead of correct autosizing

2011-07-11 Thread Esa
In your CSS

#theMap {
...
line-height: 1em;}

is inherited to info window.

-- 
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: infowindow in Android devices

2011-06-27 Thread Haosheng Huang
I found a solution for this. Have a look at this page for an example:
http://www.evergladesgeospatial.com/gmap/

-- 
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/-/Ry5au1tO55oJ.
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: infowindow in Android devices

2011-06-27 Thread Haosheng Huang
any comments will be appreciated.

-- 
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/-/7yDt8-NwD_0J.
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: Infowindow Shadow

2011-06-27 Thread Pil
Have a look at the reference. You can see that floatShadow pane
contains the info window shadow.

http://code.google.com/apis/maps/documentation/javascript/reference.html#MapPanes

Now you should know how to access the map panes. To do this you can
use an OverlayView as a dummy object.

Then you may set the floatShadow pane (which is a div that contains
the shadow images) not to be displyed

dummy.getPanes().floatShadow.style.display = "none";





On Jun 27, 9:38 am, Navindian  wrote:
> Hello team,
>
> I wish to disable the shadow that is getting displayed when we open
> Infowindow.
>
> If you need The snippet, the following you could see...
>     var infowindow = new google.maps.InfoWindow();
>
>     var html = 'hello';//use anything here..
>
>     infowindow.setContent(html);
>
>     infowindow.open(map,this);
>
> Thanks
> Navindian

-- 
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: Infowindow and Flash content problems when using Firefox 4

2011-06-22 Thread Alpaca
Problems appear to still exist in FF5 (I read elsewhere that it had
been fixed in FF5).

On Apr 25, 2:52 pm, epschmidt  wrote:
> I can confirm that embedded Flash content is not working in
> infowindow's inFirefox4 for OSX either. This includes iframeYouTube
> embeds. I haven't found a workaround but would be very interested in a
> solution.
>
> On Apr 7, 11:56 am, bobemond  wrote:
>
>
>
>
>
>
>
> >Firefox4 doesn't seem to be able to display Flash content appearing inside
> > an infowindow. This is the case when using either an iframe or content
> > loaded through Ajax. Any page that has a flash object will not appear at
> > all. It's making it impossible to embed video without using an HTML5 player
> > like VideoJS. This has been tested using the Windows version of FF, but OSX
> > seems quite buggy as well.
>
> > Can anyone suggest a workaround for this?

-- 
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: InfoWindow is blank

2011-06-09 Thread geocode...@gmail.com
On Jun 9, 8:06 am, Dev Web  wrote:
> I would be very grateful if someone could explain why my simple info window
> on a masingle marker is not showing a name, address and tel. no.
> I have searched the posts and cannot see this being raised.
> It is a site in development:http://www.rubby.sitesoon.co.uk/find.php
>
> If I try and highlight the info window area and copy, when pasted into
> notepad, there is a 20 or so line blank gap, then the first line of the name
> appears.
> I have searched my CSS in relation to this area and cannot for the life of
> me see anything that would cause this, I must be missing something obvious.
> Thank you to anybody willing to have a look.


It is a problem with your css.  If I remove your css and add:

#map_canvas {
border: 1px solid #09BF4D;
width: 570px;
height: 450px;
margin: 0px auto 10px auto;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: small;
color: #66;
}


the infowindow content shows up in a local version.

  -- 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: InfoWindow is blank

2011-06-09 Thread Dev Web
Thank you so much Larry, it is now showing.
 
In the Google code, which was from an example, I renamed the infowindow div 
to test as below:
 
 var map = new google.maps.Map(document.getElementById("map_canvas"), 
myOptions);
 var contentString = ''+
 It was  id="content" in the example and I have a div with the ID of content 
already in the page, perhaps that was affecting it.
 
I do not that there are vertical scrollbars for the div and if it were just 
that 30 px higher, they would not be needed.
Is there a simple example you could give me please to increase the height, 
(or even widths would be very handy sometimes)
 
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/-/V4Ek1FRWqbkJ.
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: Infowindow onHover using ArcGIS Server polylines and point

2011-06-02 Thread Ed Saunders
Nianwei,

Just been looking at that polyline mouseover highlight function again.  I'm 
just wondering how I can set a tolerance on it, i.e. hover mouse within a 
certain distance and the polyline/point highlights.  At the moment I've got:

function getLineCenter(line) {
var path, latlng;
var lat = 0;
var lng = 0;
var c = 0;
path = line.getPath();
for (var k = 0, kc = path.getLength(); k < kc; k++) {
latlng = path.getAt(k);
lat += latlng.lat();
lng += latlng.lng();
c++;
}
if (c > 0) {
return new google.maps.LatLng(lat / c, lng / c);
}
return null;
}

Can I just add in a +/- tolerance on the latlng variable??  Got any ideas?

Thanks for any assistance.

Ed

-- 
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/-/YzFNMmFJdWt1TXNK.
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: Infowindow onHover using ArcGIS Server polylines and point

2011-05-26 Thread Ed Saunders
Thanks Nianwei, much appreciated.  This library is excellent by the way, 
thanks for making it available.

Ed

-- 
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: Infowindow onHover using ArcGIS Server polylines and point

2011-05-26 Thread Nianwei Liu
You are using an old version from SVN history, should use trunk
version.
Both Marker and Polyline supports mouseover event, so it should be
just a very minor change to the sample for polygon.

On May 25, 9:47 am, Ed Saunders  wrote:
> Hi all,
>
> Just wondered if anyone had implemented the sample below using points and
> polylines instead of polygons:
>
> http://google-maps-utility-library-v3.googlecode.com/svn-history/r172...
>
> Can we use the getPaths function on polylines? Anyone got some code to
> share?
>
> Thanks for any help.
>
> Ed

-- 
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: InfoWindow size

2011-05-19 Thread Rossko
> It seems that maps.google.com does something else, but I can't figure
> it out.

It's not based on the API and includes specialised code not available
to us.

-- 
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: InfoWindow size

2011-05-19 Thread THE_AI
Ok, I guess that I'll leave it like this...
http://labs.compojoom.com/index.php/hotspots

Now when you click on infowindow -> direction -> you don't get anymore
a scroll bar. I'm firing the content_changed event and the api is
rebuilding the window. Unfortunately there the balloon flickers... The
only browser that works fine is IE9 - yeaaa!!!

It seems that maps.google.com does something else, but I can't figure
it out.

On May 19, 3:18 pm, THE_AI  wrote:
> Ok, now I'm one step further:http://labs.compojoom.com/index.php/hotspots
>
> If you click on a marker it will open the infowindow without any
> scroll bars.
> What did I do?
>
> The content for the marker was an html string. I have encapsulated
> this string into an div dom element.
> Then I've injected the navigation into this div and gave this to the
> infowindow function... Now it calculates the height properly.
>
> But when I click on the button "get directions", the form opens, but
> the infowindow doesn't become bigger... I tried the following trick:
> I set display: block and then call the open() function on the
> infowindow and this was resizing it, but there was an annoying
> flickering effect...
>
> Still trying to figure out how google do the trick 
> here:http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=coffee&aq...
>
> On May 18, 1:35 pm, THE_AI  wrote:
>
>
>
>
>
>
>
> > I'm starting to be a little bit confused about all that.
> > I'm looking at 
> > this:http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=coffee&aq...
>
> > At the bottom of this infoWindow we have few buttons. If we click on
> > search nearby - a form appears, but no scroll bars are to be seen in
> > the infowindow :)))
>
> > What should my approach be to achieve the same?
>
> > Right now I'm injecting my navigation at the bottom of the infowindow,
> > because it is dynamically created and is a dom node. If I try to use
> > setContent to add it then in the infowindow I see [HtmlElmen ...].
> > (most probably because the already existing content for the infowindow
> > is just a string???)
>
> > Something more - in my case when you click on get Directions -> the
> > form shows, but it also creates a bigger scrollbar - with the google
> > example - the form just magically appears and the infoWindow just
> > becomes bigger.
>
> > On May 17, 11:41 pm, Rossko  wrote:
>
> > > > My content is dynamic - the information is read from the database and
> > > > that is why I never know how high it should be.
>
> > > If you don't know, neither can the API
>
> > > > In my case the problem is that after the infowindow is build I try to
> > > > change it's content.
>
> > > Yes, I think your infoWindowToolbarActions is at the root of the
> > > issue, injecting HTML into an existing infoWindow.  The API doesn't
> > > know about that.
> > > Use the infowindow's setContent() method so it can recalculate

-- 
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: InfoWindow size

2011-05-19 Thread THE_AI
Ok, now I'm one step further:
http://labs.compojoom.com/index.php/hotspots

If you click on a marker it will open the infowindow without any
scroll bars.
What did I do?

The content for the marker was an html string. I have encapsulated
this string into an div dom element.
Then I've injected the navigation into this div and gave this to the
infowindow function... Now it calculates the height properly.

But when I click on the button "get directions", the form opens, but
the infowindow doesn't become bigger... I tried the following trick:
I set display: block and then call the open() function on the
infowindow and this was resizing it, but there was an annoying
flickering effect...

Still trying to figure out how google do the trick here:
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=coffee&aq=&sll=37.0625,-95.677068&sspn=33.29802,121.552734&ie=UTF8&hq=coffee&hnear=&ll=40.313043,-95.712891&spn=31.906373,121.552734&z=4&iwloc=A


On May 18, 1:35 pm, THE_AI  wrote:
> I'm starting to be a little bit confused about all that.
> I'm looking at 
> this:http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=coffee&aq...
>
> At the bottom of this infoWindow we have few buttons. If we click on
> search nearby - a form appears, but no scroll bars are to be seen in
> the infowindow :)))
>
> What should my approach be to achieve the same?
>
> Right now I'm injecting my navigation at the bottom of the infowindow,
> because it is dynamically created and is a dom node. If I try to use
> setContent to add it then in the infowindow I see [HtmlElmen ...].
> (most probably because the already existing content for the infowindow
> is just a string???)
>
> Something more - in my case when you click on get Directions -> the
> form shows, but it also creates a bigger scrollbar - with the google
> example - the form just magically appears and the infoWindow just
> becomes bigger.
>
> On May 17, 11:41 pm, Rossko  wrote:
>
>
>
>
>
>
>
> > > My content is dynamic - the information is read from the database and
> > > that is why I never know how high it should be.
>
> > If you don't know, neither can the API
>
> > > In my case the problem is that after the infowindow is build I try to
> > > change it's content.
>
> > Yes, I think your infoWindowToolbarActions is at the root of the
> > issue, injecting HTML into an existing infoWindow.  The API doesn't
> > know about that.
> > Use the infowindow's setContent() method so it can recalculate

-- 
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: infowindow

2011-05-18 Thread geocode...@gmail.com
On May 18, 1:37 am, MZMS  wrote:
> how to get the coordination points by clicking on the dropped
> placemarker?

You mean something like this:
http://www.geocodezip.com/v3_example_click2add_infowindow.html

  -- 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: InfoWindow size

2011-05-18 Thread THE_AI
I'm starting to be a little bit confused about all that.
I'm looking at this:
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=coffee&aq=&sll=37.0625,-95.677068&sspn=33.29802,121.552734&ie=UTF8&hq=coffee&hnear=&ll=40.313043,-95.712891&spn=31.906373,121.552734&z=4&iwloc=A

At the bottom of this infoWindow we have few buttons. If we click on
search nearby - a form appears, but no scroll bars are to be seen in
the infowindow :)))

What should my approach be to achieve the same?

Right now I'm injecting my navigation at the bottom of the infowindow,
because it is dynamically created and is a dom node. If I try to use
setContent to add it then in the infowindow I see [HtmlElmen ...].
(most probably because the already existing content for the infowindow
is just a string???)

Something more - in my case when you click on get Directions -> the
form shows, but it also creates a bigger scrollbar - with the google
example - the form just magically appears and the infoWindow just
becomes bigger.




On May 17, 11:41 pm, Rossko  wrote:
> > My content is dynamic - the information is read from the database and
> > that is why I never know how high it should be.
>
> If you don't know, neither can the API
>
> > In my case the problem is that after the infowindow is build I try to
> > change it's content.
>
> Yes, I think your infoWindowToolbarActions is at the root of the
> issue, injecting HTML into an existing infoWindow.  The API doesn't
> know about that.
> Use the infowindow's setContent() method so it can recalculate

-- 
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: InfoWindow size

2011-05-17 Thread Rossko
> My content is dynamic - the information is read from the database and
> that is why I never know how high it should be.

If you don't know, neither can the API

> In my case the problem is that after the infowindow is build I try to
> change it's content.

Yes, I think your infoWindowToolbarActions is at the root of the
issue, injecting HTML into an existing infoWindow.  The API doesn't
know about that.
Use the infowindow's setContent() method so it can recalculate

-- 
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: InfoWindow size

2011-05-17 Thread THE_AI
>Try giving your content some sizes.

My content is dynamic - the information is read from the database and
that is why I never know how high it should be.

In my case the problem is that after the infowindow is build I try to
change it's content. So what I want to try is to somehow tell the
infowindow that the content has changed and then tell it to
recalculate everything? Is this possible?


On May 17, 8:44 pm, Rossko  wrote:
> > As far as I can see each infowindow has a specific height and width,
> > which is being calculated from the API on the fly.
>
> That's right.  In order to get that calculation correct, the API needs
> to know the size of all the elements that make it up.  Try giving your
> content some sizes.  Things that typically go wrong are including
>  tags with no size (not your problem though) and styling
> infowindow content dynamically (the styling doesn't get applied until
> after the infowindow is built)

-- 
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: InfoWindow size

2011-05-17 Thread Rossko
> As far as I can see each infowindow has a specific height and width,
> which is being calculated from the API on the fly.

That's right.  In order to get that calculation correct, the API needs
to know the size of all the elements that make it up.  Try giving your
content some sizes.  Things that typically go wrong are including
 tags with no size (not your problem though) and styling
infowindow content dynamically (the styling doesn't get applied until
after the infowindow is built)

-- 
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: InfoWindow size

2011-05-17 Thread THE_AI
Hey Radina,
Thank you for your reply! Unfortunately removing the overflow:auto
doesn't do it for me.

As far as I can see each infowindow has a specific height and width,
which is being calculated from the API on the fly. So when I remove
the overflow - I see my content, but it goes outside of the
infowindow...

So I should somehow also change the height of the infowindow, but it
is created from several divs, that don't have ids and I'm not exactly
sure how to access them?



On May 12, 9:35 pm, Radina  wrote:
> Search this group for:
> Infowindow - Unwanted scroll bars
> On May 12, 3:16 am,THE_AI wrote:
>
>
>
>
>
>
>
> > Anyone? Any ideas or just a suggestion where to look?
>
> > On May 3, 3:54 pm,THE_AI wrote:
>
> > > Hey guys,
> > > there are a lot of posts with the same question, but somehow I miss
> > > the solution to the problem...
>
> > > I'm working on this joomla extension 
> > > here:http://labs.compojoom.com/index.php/hotspots
>
> > > When the user click on the marker, the infowindow shows. Part of the
> > > content of the infowindow is loaded with javascript and the other part
> > > is made from a js function (infoWindowToolbarActions).
>
> > > I use
> > > google.maps.event.addListenerOnce(this.infoWindow.infoWindowObj,
> > > 'domready', function()
>
> > > to append the directions| zoom links at the bottom of the infowindow.
> > > Now the links are appended, but the infowindow gets a scroll bar, that
> > > gets even bigger when you click on directions, because another form is
> > > shown in the infowindow.
>
> > > I understand that I have to resize the infowindow, but I don't know
> > > how? As far as I can see the bubble is made from 3 absolute positioned
> > > divs, that I don't know how to access and how to change their height
> > > and width.- Hide quoted text -
>
> > - Show quoted text -

-- 
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: InfoWindow size

2011-05-12 Thread Radina
Search this group for:
Infowindow - Unwanted scroll bars
On May 12, 3:16 am, THE_AI  wrote:
> Anyone? Any ideas or just a suggestion where to look?
>
> On May 3, 3:54 pm, THE_AI  wrote:
>
>
>
> > Hey guys,
> > there are a lot of posts with the same question, but somehow I miss
> > the solution to the problem...
>
> > I'm working on this joomla extension 
> > here:http://labs.compojoom.com/index.php/hotspots
>
> > When the user click on the marker, the infowindow shows. Part of the
> > content of the infowindow is loaded with javascript and the other part
> > is made from a js function (infoWindowToolbarActions).
>
> > I use
> > google.maps.event.addListenerOnce(this.infoWindow.infoWindowObj,
> > 'domready', function()
>
> > to append the directions| zoom links at the bottom of the infowindow.
> > Now the links are appended, but the infowindow gets a scroll bar, that
> > gets even bigger when you click on directions, because another form is
> > shown in the infowindow.
>
> > I understand that I have to resize the infowindow, but I don't know
> > how? As far as I can see the bubble is made from 3 absolute positioned
> > divs, that I don't know how to access and how to change their height
> > and width.- Hide quoted text -
>
> - Show quoted text -

-- 
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: InfoWindow size

2011-05-12 Thread THE_AI
Anyone? Any ideas or just a suggestion where to look?

On May 3, 3:54 pm, THE_AI  wrote:
> Hey guys,
> there are a lot of posts with the same question, but somehow I miss
> the solution to the problem...
>
> I'm working on this joomla extension 
> here:http://labs.compojoom.com/index.php/hotspots
>
> When the user click on the marker, the infowindow shows. Part of the
> content of the infowindow is loaded with javascript and the other part
> is made from a js function (infoWindowToolbarActions).
>
> I use
> google.maps.event.addListenerOnce(this.infoWindow.infoWindowObj,
> 'domready', function()
>
> to append the directions| zoom links at the bottom of the infowindow.
> Now the links are appended, but the infowindow gets a scroll bar, that
> gets even bigger when you click on directions, because another form is
> shown in the infowindow.
>
> I understand that I have to resize the infowindow, but I don't know
> how? As far as I can see the bubble is made from 3 absolute positioned
> divs, that I don't know how to access and how to change their height
> and width.

-- 
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: InfoWindow displayed one at a time

2011-05-01 Thread geocode...@gmail.com
On May 1, 6:03 am, Luc LAFITTE  wrote:
> Hello everyone,
> I am a young french (sorry for my English) and I have a problem:
> By upgrading to version 3 of Google map, I noticed that the default
> by clicking on an InfoWindow it does not close other InfoWindow
> open so there are several open at the sametime : it was not the
> case in the v2.

Have you seen this "sample":
http://gmaps-samples-v3.googlecode.com/svn/trunk/single-infowindow/single-infowindow.html

from this search:
http://code.google.com/apis/maps/documentation/javascript/demogallery.html?searchquery=single%20infowindow

  -- Larry

>
>
> Is there a simple way to configure this?
>
> Thank 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.



[Google Maps API v3] Re: Infowindow and Flash content problems when using Firefox 4

2011-04-25 Thread epschmidt
I can confirm that embedded Flash content is not working in
infowindow's in Firefox 4 for OSX either. This includes iframe YouTube
embeds. I haven't found a workaround but would be very interested in a
solution.

On Apr 7, 11:56 am, bobemond  wrote:
> Firefox 4 doesn't seem to be able to display Flash content appearing inside
> an infowindow. This is the case when using either an iframe or content
> loaded through Ajax. Any page that has a flash object will not appear at
> all. It's making it impossible to embed video without using an HTML5 player
> like VideoJS. This has been tested using the Windows version of FF, but OSX
> seems quite buggy as well.
>
> Can anyone suggest a workaround for this?

-- 
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: InfoWindow causes my map to not appear

2011-04-25 Thread K Bowman
Ok, I think I added the correct code that was missing for the info window
and it opens in the map (outside of the iframe) when the marker is clicked
on.  Any suggestions on improving that code, or user interaction would be
greatly appreciated.

On Mon, Apr 25, 2011 at 9:26 AM, K Bowman  wrote:

> So, the marker that I currenlty have defined can't be used for the
> infowindow?  I thought I could just include the infowindow code with the
> existing marker code and have them both appear.
>
> On Mon, Apr 25, 2011 at 3:38 AM, Rossko wrote:
>
>> > Hmm... there was a conflict between the template and the component
>> > com_properties where both had slimbox.js jQuery defined and I was told
>> by
>> > the template developer i had to remove one which I did but apparently
>> there
>> > is now an error.
>>
>> slimbox.js errors out because it is dependent on jquery, which you
>> seem to have removed.
>>
>> Viewing your map outside of the iframe
>>
>> http://www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=com_properties&view=properties&task=map&id=3&Itemid=106
>> shows the same map/icon/no infowindow behaviour, and makes it simpler
>> to examine
>>
>> The HTML structure is invalid, with multiple Doctype, , etc.
>>
>> This infowindow
>> var infowindow = new google.maps.InfoWindow({content: contentString});
>> doesn't get displayed, you need to tell it to open and where to
>> display ; either give it a marker to base itself on or specify a lat/
>> lng
>>
>> http://code.google.com/apis/maps/documentation/javascript/overlays.html#InfoWindows
>>
>>   That doesn't have any influence on this issue though I
>> > don't think.
>> >
>> > On Sun, Apr 24, 2011 at 2:45 PM, geocode...@gmail.com
>> > wrote:
>> >
>> >
>> >
>> > > On Apr 24, 12:57 pm, K Bowman  wrote:
>> > > > I thought that was the problem as well, but I did try just inserting
>> the
>> > > > contentString text from the google map example and it was the same
>> > > result.
>> >
>> > > > The link ishttp://
>> > >www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
>> >
>> > > > Then click on the 'Show Map' button.
>> >
>> > > > I'm not sure why this isn't working.  This worked in V2, with the
>> same
>> > > php
>> > > > string.
>> >
>> > > I get a javascript error in FF:
>> > > Error: jQuery is not defined
>> > > Source File:
>> > >http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_pr.
>> ..
>> > > Line: 6
>> >
>> > >  -- Larry
>> >
>> > > > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot 
>> > > wrote:
>> > > > > Got a link? I'm guessing this line is the cause of your problems:
>> >
>> > > > > var contentString = ';
>> >
>> > > > > You're outputting some random PHP string into JavaScript. Is the
>> string
>> > > > > escaped for JS? What is the *output* of this PHP script?
>> >
>> > > > > --
>> > > > >http://twitter.com/broady
>> >
>> > > > > --
>> > > > > 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.
>> >
>> > > --
>> > > 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.- Hide
>> quoted text -
>> >
>> > - Show quoted text -
>>
>> --
>> 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.
>>
>>
>

-- 
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: InfoWindow causes my map to not appear

2011-04-25 Thread K Bowman
So, the marker that I currenlty have defined can't be used for the
infowindow?  I thought I could just include the infowindow code with the
existing marker code and have them both appear.

On Mon, Apr 25, 2011 at 3:38 AM, Rossko  wrote:

> > Hmm... there was a conflict between the template and the component
> > com_properties where both had slimbox.js jQuery defined and I was told by
> > the template developer i had to remove one which I did but apparently
> there
> > is now an error.
>
> slimbox.js errors out because it is dependent on jquery, which you
> seem to have removed.
>
> Viewing your map outside of the iframe
>
> http://www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=com_properties&view=properties&task=map&id=3&Itemid=106
> shows the same map/icon/no infowindow behaviour, and makes it simpler
> to examine
>
> The HTML structure is invalid, with multiple Doctype, , etc.
>
> This infowindow
> var infowindow = new google.maps.InfoWindow({content: contentString});
> doesn't get displayed, you need to tell it to open and where to
> display ; either give it a marker to base itself on or specify a lat/
> lng
>
> http://code.google.com/apis/maps/documentation/javascript/overlays.html#InfoWindows
>
>   That doesn't have any influence on this issue though I
> > don't think.
> >
> > On Sun, Apr 24, 2011 at 2:45 PM, geocode...@gmail.com
> > wrote:
> >
> >
> >
> > > On Apr 24, 12:57 pm, K Bowman  wrote:
> > > > I thought that was the problem as well, but I did try just inserting
> the
> > > > contentString text from the google map example and it was the same
> > > result.
> >
> > > > The link ishttp://
> > >www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
> >
> > > > Then click on the 'Show Map' button.
> >
> > > > I'm not sure why this isn't working.  This worked in V2, with the
> same
> > > php
> > > > string.
> >
> > > I get a javascript error in FF:
> > > Error: jQuery is not defined
> > > Source File:
> > >http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_pr.
> ..
> > > Line: 6
> >
> > >  -- Larry
> >
> > > > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot 
> > > wrote:
> > > > > Got a link? I'm guessing this line is the cause of your problems:
> >
> > > > > var contentString = ';
> >
> > > > > You're outputting some random PHP string into JavaScript. Is the
> string
> > > > > escaped for JS? What is the *output* of this PHP script?
> >
> > > > > --
> > > > >http://twitter.com/broady
> >
> > > > > --
> > > > > 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.
> >
> > > --
> > > 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.- Hide
> quoted text -
> >
> > - Show quoted text -
>
> --
> 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.
>
>

-- 
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: InfoWindow causes my map to not appear

2011-04-25 Thread Rossko
> Hmm... there was a conflict between the template and the component
> com_properties where both had slimbox.js jQuery defined and I was told by
> the template developer i had to remove one which I did but apparently there
> is now an error.

slimbox.js errors out because it is dependent on jquery, which you
seem to have removed.

Viewing your map outside of the iframe
http://www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=com_properties&view=properties&task=map&id=3&Itemid=106
shows the same map/icon/no infowindow behaviour, and makes it simpler
to examine

The HTML structure is invalid, with multiple Doctype, , etc.

This infowindow
var infowindow = new google.maps.InfoWindow({content: contentString});
doesn't get displayed, you need to tell it to open and where to
display ; either give it a marker to base itself on or specify a lat/
lng
http://code.google.com/apis/maps/documentation/javascript/overlays.html#InfoWindows

  That doesn't have any influence on this issue though I
> don't think.
>
> On Sun, Apr 24, 2011 at 2:45 PM, geocode...@gmail.com
> wrote:
>
>
>
> > On Apr 24, 12:57 pm, K Bowman  wrote:
> > > I thought that was the problem as well, but I did try just inserting the
> > > contentString text from the google map example and it was the same
> > result.
>
> > > The link ishttp://
> >www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
>
> > > Then click on the 'Show Map' button.
>
> > > I'm not sure why this isn't working.  This worked in V2, with the same
> > php
> > > string.
>
> > I get a javascript error in FF:
> > Error: jQuery is not defined
> > Source File:
> >http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_pr...
> > Line: 6
>
> >  -- Larry
>
> > > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot 
> > wrote:
> > > > Got a link? I'm guessing this line is the cause of your problems:
>
> > > > var contentString = ';
>
> > > > You're outputting some random PHP string into JavaScript. Is the string
> > > > escaped for JS? What is the *output* of this PHP script?
>
> > > > --
> > > >http://twitter.com/broady
>
> > > > --
> > > > 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.
>
> > --
> > 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.- Hide quoted 
> >text -
>
> - Show quoted text -

-- 
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: InfoWindow causes my map to not appear

2011-04-24 Thread K Bowman
Yes, I see the map and an icon, but I'm missing the infowindow.  That's what
I'm trying to get working.

On Sun, Apr 24, 2011 at 2:47 PM, geocode...@gmail.com
wrote:

> On Apr 24, 1:45 pm, "geocode...@gmail.com" 
> wrote:
> > On Apr 24, 12:57 pm, K Bowman  wrote:
> >
> > > I thought that was the problem as well, but I did try just inserting
> the
> > > contentString text from the google map example and it was the same
> result.
> >
> > > The link ishttp://
> www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
> >
> > > Then click on the 'Show Map' button.
> >
> > > I'm not sure why this isn't working.  This worked in V2, with the same
> php
> > > string.
> >
> > I get a javascript error in FF:
> > Error: jQuery is not defined
> > Source File:
> http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_pr...
> > Line: 6
>
> BTW, I do see a map and an icon, but no infowindow appears.
>
>-- Larry
>
> >
> >
> > > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot 
> wrote:
> > > > Got a link? I'm guessing this line is the cause of your problems:
> >
> > > > var contentString = ';
> >
> > > > You're outputting some random PHP string into JavaScript. Is the
> string
> > > > escaped for JS? What is the *output* of this PHP script?
> >
> > > > --
> > > >http://twitter.com/broady
> >
> > > > --
> > > > 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.
> >
> >
>
> --
> 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.
>
>

-- 
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: InfoWindow causes my map to not appear

2011-04-24 Thread K Bowman
Hmm... there was a conflict between the template and the component
com_properties where both had slimbox.js jQuery defined and I was told by
the template developer i had to remove one which I did but apparently there
is now an error.  That doesn't have any influence on this issue though I
don't think.

On Sun, Apr 24, 2011 at 2:45 PM, geocode...@gmail.com
wrote:

> On Apr 24, 12:57 pm, K Bowman  wrote:
> > I thought that was the problem as well, but I did try just inserting the
> > contentString text from the google map example and it was the same
> result.
> >
> > The link ishttp://
> www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
> >
> > Then click on the 'Show Map' button.
> >
> > I'm not sure why this isn't working.  This worked in V2, with the same
> php
> > string.
>
> I get a javascript error in FF:
> Error: jQuery is not defined
> Source File:
> http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_properties/includes/js/slimbox.js
> Line: 6
>
>  -- Larry
>
>
> >
> > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot 
> wrote:
> > > Got a link? I'm guessing this line is the cause of your problems:
> >
> > > var contentString = ';
> >
> > > You're outputting some random PHP string into JavaScript. Is the string
> > > escaped for JS? What is the *output* of this PHP script?
> >
> > > --
> > >http://twitter.com/broady
> >
> > > --
> > > 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.
> >
> >
>
> --
> 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.
>
>

-- 
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: InfoWindow causes my map to not appear

2011-04-24 Thread geocode...@gmail.com
On Apr 24, 1:45 pm, "geocode...@gmail.com" 
wrote:
> On Apr 24, 12:57 pm, K Bowman  wrote:
>
> > I thought that was the problem as well, but I did try just inserting the
> > contentString text from the google map example and it was the same result.
>
> > The link 
> > ishttp://www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
>
> > Then click on the 'Show Map' button.
>
> > I'm not sure why this isn't working.  This worked in V2, with the same php
> > string.
>
> I get a javascript error in FF:
> Error: jQuery is not defined
> Source 
> File:http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_pr...
> Line: 6

BTW, I do see a map and an icon, but no infowindow appears.

   -- Larry

>
>
> > On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot  wrote:
> > > Got a link? I'm guessing this line is the cause of your problems:
>
> > > var contentString = ';
>
> > > You're outputting some random PHP string into JavaScript. Is the string
> > > escaped for JS? What is the *output* of this PHP script?
>
> > > --
> > >http://twitter.com/broady
>
> > > --
> > > 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.
>
>

-- 
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: InfoWindow causes my map to not appear

2011-04-24 Thread geocode...@gmail.com
On Apr 24, 12:57 pm, K Bowman  wrote:
> I thought that was the problem as well, but I did try just inserting the
> contentString text from the google map example and it was the same result.
>
> The link 
> ishttp://www.uniquehomeconcepts.ca/uniquehomeconcepts/index.php?option=...
>
> Then click on the 'Show Map' button.
>
> I'm not sure why this isn't working.  This worked in V2, with the same php
> string.

I get a javascript error in FF:
Error: jQuery is not defined
Source File: 
http://www.uniquehomeconcepts.ca/uniquehomeconcepts/components/com_properties/includes/js/slimbox.js
Line: 6

  -- Larry


>
> On Sun, Apr 24, 2011 at 12:34 AM, Chris Broadfoot  wrote:
> > Got a link? I'm guessing this line is the cause of your problems:
>
> > var contentString = ';
>
> > You're outputting some random PHP string into JavaScript. Is the string
> > escaped for JS? What is the *output* of this PHP script?
>
> > --
> >http://twitter.com/broady
>
> > --
> > 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.
>
>

-- 
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: InfoWindow sizing problems

2011-04-11 Thread en4ce
sure you can do that but what if the pic is 2000*2000 px? not very
convenient in my eyes

On 11 Apr., 13:12, Andrew Leach  wrote:
> On 11 April 2011 12:07, en4ce  wrote:
>
>
>
> > generally its best if you resize the pics on the server, its not that
> > difficult and there are a lot of tutorials on this, so resize the pics
> > when they are uploaded / shortly after
>
> > if you want to preload the pics then sure its no problem just insert
> > them in a array but this could significantly boost your traffic, i am
> > not a fan of this
>
> You don't need to do either. When you create the HTML of the page
> insert the size of the image into the  
> tag.http://php.net/manual/en/function.getimagesize.php

-- 
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: InfoWindow sizing problems

2011-04-11 Thread Andrew Leach
On 11 April 2011 12:07, en4ce  wrote:
>
> generally its best if you resize the pics on the server, its not that
> difficult and there are a lot of tutorials on this, so resize the pics
> when they are uploaded / shortly after
>
> if you want to preload the pics then sure its no problem just insert
> them in a array but this could significantly boost your traffic, i am
> not a fan of this

You don't need to do either. When you create the HTML of the page
insert the size of the image into the  tag.
http://php.net/manual/en/function.getimagesize.php

-- 
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: InfoWindow sizing problems

2011-04-11 Thread en4ce
hey rick

generally its best if you resize the pics on the server, its not that
difficult and there are a lot of tutorials on this, so resize the pics
when they are uploaded / shortly after

"You could force the browser to size the image (give it a width and a
height)" you could do that but the aspect ratio most likely will be
broken

if you want to preload the pics then sure its no problem just insert
them in a array but this could significantly boost your traffic, i am
not a fan of this

 --Enrico

On 11 Apr., 03:36, Rick Donohoe  wrote:
> Hi guys,
>
> The page in question is:http://my-walk.com/route.php?id=78
>
> The page displays markers on a poly, and the markers have photos
> attached to them. They are uploaded by users so I don't use any sort
> of image size, I just set the content dynamically to a link so for
> example one of the infowindows in this page has something like
>
> content = 
>
> My problem is the info windows show up long and thin, and the picture
> is quite large, with scroll bars horizontally and vertically. How can
> I change this so it displays the image a little smaller, or is there
> some kind of better window or even a good pop out style thing I should
> use instead of info window?
>
> Cheers,
> Rick

-- 
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: InfoWindow sizing problems

2011-04-10 Thread geocode...@gmail.com
On Apr 10, 6:36 pm, Rick Donohoe  wrote:
> Hi guys,
>
> The page in question is:http://my-walk.com/route.php?id=78
>
> The page displays markers on a poly, and the markers have photos
> attached to them. They are uploaded by users so I don't use any sort
> of image size, I just set the content dynamically to a link so for
> example one of the infowindows in this page has something like
>
> content = 
>
> My problem is the info windows show up long and thin, and the picture
> is quite large, with scroll bars horizontally and vertically. How can
> I change this so it displays the image a little smaller, or is there
> some kind of better window or even a good pop out style thing I should
> use instead of info window?

You could force the browser to size the image (give it a width and a
height)
You could preload the image before opening the infowindow.

  -- Larry


>
> Cheers,
> Rick

-- 
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: Infowindow closeclick is not working...

2011-03-07 Thread Rossko
>                         google.maps.event.addListener(infowindow, 
> 'closeclick',
> closeclickListener());

That will execute closeclickListener() at the time you set up the
listener.  If you want it to run at the time of the click, pass a
reference instead.
google.maps.event.addListener(..., closeclickListener);

Some browsers will want you to define the function before passing a
reference to it.

-- 
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: Infowindow with tabs in v3

2011-02-09 Thread Chris Broadfoot
And have a look at InfoBubble:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html

-- 
http://twitter.com/broady

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



  1   2   3   >