[OpenLayers-Users] different markers for different textlayers

Erik Uzureau euzuro at gmail.com
Wed Dec 27 16:12:35 EST 2006


Example: http://www.openlayers.org/dev/examples/markersTextLayer.html

On 12/27/06, Erik Uzureau <euzuro at gmail.com> wrote:
> Hi Robert,
>
> In fact this is not very difficult to do. You only must add a column
> called 'icon' to your text file with the url of the image you wish to
> use. :-)
>
> Erik
>
>
> On 12/22/06, Robert Buzink <post at robertbuzink.nl> wrote:
> > hi,
> >
> > I would like to have different markers for different overlays from
> > textfiles. All markers for the overlay from textfile Restaurants.txt should
> > be donuts for example and all markers for the overlay from textfile
> > Houses.txt should be little houses.
> >
> > (The textfiles are dynamically generated and I really must use them. I can't
> > define every location seperately in the script.)
> >
> > Is this possible?
> >
> > Robert.
> >
> > PS I could also rewrite the text files to xml if that's any better.
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
> >
>



More information about the Users mailing list