[OpenLayers-Users] Chicken in AddPopup
Gery .
gamejihou at hotmail.com
Sat Jun 2 09:21:06 PDT 2012
Thanks Greg, now it is clear, by the way I'm having another problem, I want to put some code as the layer switcher or overview control, do you know how could I do that?
> Date: Sat, 2 Jun 2012 08:38:49 -0700
> From: gregor at greeninfo.org
> To: gamejihou at hotmail.com
> CC: smaran.harihar at gmail.com; openlayers-users at lists.osgeo.org
> Subject: Re: [OpenLayers-Users] Chicken in AddPopup
>
> On 6/1/2012 9:53 PM, Gery . wrote:
> > Thanks for the info, regarding to the popup style, time ago I was trying
> > to modify my table style, for example adding color to borders. I'm using
> > a MAP file (then templates) to do the popup. Where do I have to add the
> > style? in my HTML template or in my main HTML web (where I have the
> > popup code)?
>
> Typically I would put them into my website's HTML code as I would with
> other elements. But either way could work; you may find it more
> organized to have the popup-specific CSS inside the popup-specific HTML.
>
> If there's a lot of CSS for your popup, there may be a small downside to
> putting the CSS in the query template: the CSS code would be transmitted
> to the client along with the HTML, adding extra download time. That may
> be trivial, though; in an era of 1 Mbps being slow, what's 500 extra
> bytes in a download?
>
> --
> Greg Allensworth, Web GIS Developer
> BS A+ Network+ Security+ Linux+ Server+
> GreenInfo Network - Information and Mapping in the Public Interest
> 564 Market Street, Suite 510 San Francisco CA 94104
> PH: 415-979-0343 x302 FX: 415-979-0371 email: gregor at greeninfo.org
> Web: www.GreenInfo.org www.MapsPortal.org
>
> Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120602/5bf83f83/attachment-0001.html>
More information about the Users
mailing list