[OpenLayers-Users] Example popupMatrix.html question

Erik Uzureau euzuro at gmail.com
Wed May 21 09:24:04 EDT 2008


Stephen,

You are absolutely right. That is a mistake on my part. Thanks for
spotting it. Fixed in:
http://trac.openlayers.org/changeset/7236

Erik

On Tue, May 20, 2008 at 5:18 PM, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> Hi all,
>
> I'm trying to understand the example:
> http://openlayers.org/dev/examples/popupMatrix.html
>
> This seems pretty clear, and I was following it up to the point where:
>
>         function addMarker(ll, popupClass, popupContentHTML, closeBox,
> overflow) {
>
>             var feature = new OpenLayers.Feature(layer, ll);
>
> "layer" above is a global reference to OpenLayers.Layer.Image(...)
>
> So I assume that this is just the base layer and that for some reason
> the features need to be created on the base layer in spite of the fact
> that they are getting added to "markers" layer, or I'm missing some
> other key point.
>
> So it is not clear to me what is going on here and I could use some
> clarification.
>
> Thanks,
>   -Steve
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list