Dan,I found a post that gave a fix for the Google Maps map data alert pop-ups. Simply change your api key to:
http://maps.google.com/maps/api/js?v=3.2&sensor=false Worked for me.. Cheers, Jason On 12/21/2010 4:58 AM, [email protected] wrote:
Send Users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/openlayers-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: WMSGetFeatureInfo with grouped layers (Eric Lemoine) 2. Re: Write feature in another projection (yvecai) 3. Re: map data alert- google maps issue (Richard Coughlin (Abe)) 4. Multiple WMS layers, but one single WMS request (C?dric MOULLET) 5. OL and OSM at School of Webcraft (Eric Lemoine) 6. RE: Re: map data alert- google maps issue (David Alda Fernandez de Lezea) 7. Re: Select-Control: Ctrl-click on Feature with a graphicName opens new browser window (Marc Jansen) ---------------------------------------------------------------------- Message: 1 Date: Mon, 20 Dec 2010 18:09:37 +0100 From: Eric Lemoine<[email protected]> Subject: Re: [OpenLayers-Users] WMSGetFeatureInfo with grouped layers To: "Planet)x"<[email protected]> Cc: "[email protected]"<[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Monday, December 20, 2010, Planet)x<[email protected]> wrote:I want to seperate the WMSGetFeatureInfo request using the params of my layer so that I can pull out specific layers within group layers to display the info. Is there a place I can put this params variable to define which layers to include? My layer is declared as - //Areas of Interest Group var layer_AOIs = new OpenLayers.Layer.WMS("Areas of Interest", "http://localhost/WebServices/Request.aspx", { layers: ['Community_Shelter', 'Hotel_Motel', 'Library', 'Museum', 'Theatre', 'Place_of_Worship', 'Parking', 'City_Facility', 'Recreation', 'School_Age_Program', 'School' , 'Major_Commercial_Centre' , 'Hospital' , 'Police_Station' , 'Fire_Hall' , 'Attraction'], VERSION: "1.1.1", transparent: true }, { isBaseLayer: false, singleTile: true, visibility: false, buffer: 1, ratio: 1 } ); And my WMSGetFeatureInfo is declare as - //Define hotspot for Major Parks (testing purposes) info = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost/WebServices/Request.aspx', title: 'Identify features by clicking', queryVisible: false, infoFormat: 'text/html', layers: [layer_AOIs], maxFeatures: 1, hover:false }); info.events.on({ getfeatureinfo: function(e) { infopop = new GeoExt.Popup({ //utilizing the GeoExt popup functionality title: "Hotspot Information", autoheight: true, width: 300, autoScroll: true, panIn: false, map: map, lonlat: map.getLonLatFromPixel(e.xy), html: e.text }) infopop.show(); etext = e.text; if (etext.length == 146) { infopop.close(); } }}); And my layer is defined as the entire AOIs layer.. can I use the params to say only use the 'School' layer within my AOIs layer? Appreciate any advice.I don't think what you want is supported by the WMSGFI control. Have you considered using a Layer.WMS instance dedicated to configuring the WMSGFI control?
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
