|
||||
[Chameleon] Point to point polygon (Line)pxniw pxniw pxniw69@yahoo.comThu, 11 Mar 2004 09:49:50 -0800 (PST)
|
Works Great ;) Thanks --- Julien-Samuel Lacroix <jlacroix@dmsolutions.ca> wrote: > Hi, > > You can change any layer parameter available with > php_mapscript with the > MAP parameter of the MapImageSharedResource widget. > > See > http://www.maptools.org/chameleon/wiki/MapImageSharedResource > > Again like the POINT, you need to use LINE in the > MAP parameter. > > For example, to have a green line, you will have > this: > <CWC2 TYPE="MapImageSharedResource" name="main_map" > Width="300" > Height="275"> > <LINES NAME="PointOfInterest" > SRNAME="PointOfInterest_IMAGE"/> > <MAP LINE="PointOfInterest" TYPE="style" > PARAM="color" VALUE="00FF00"/> > </CWC2> > > And to change the size, change the "size" PARAM. > Like this: > <MAP LINE="PointOfInterest" TYPE="style" > PARAM="size" VALUE="2"/> > > Best regards > Julien > > > pxniw pxniw wrote: > > Works great, but how do you change the lin size... > > > > Currently it uses color red and line size is appx > 10 > > pixels thick. How do i change it to 1 or 2 pixels > > wide? > > > > Thanks > > > > --- Julien-Samuel Lacroix > <jlacroix@dmsolutions.ca> > > wrote: > > > >>Hi, > >> > >>You can try the LINES parameter. Works like > POINTS, > >>but draw lines. > >>So instead of: > >><POINTS NAME="DEALERS" SRNAME="PointsSRName"/> > >>You will have > >><LINES NAME="DEALERS" SRNAME="PointsSRName"/> > >> > >>Best regards > >>Julien > >> > >> > >>pxniw pxniw wrote: > >> > >>>Asked this awhile ago... any help? > >>> > >>>I have 3 points in the map. > >>>I have lat and lon for those points. > >>>info is on mysql db. > >>> > >>>How do I show each point with line between each > >>>point. > >>> > >>>ie: > >>> > >>>x-----x------x > >>> > >>>Using SQLQuery widget and MapImageSharedResource. > >>> > >>>(Right now I can show x x x (But no lines in > >>>between) > >>> > >>>Thanks a bunch ;) > >>> > >>> > >>>__________________________________ > >>>Do you Yahoo!? > >>>Yahoo! Search - Find what you’re looking for > >> > >>faster > >> > >>>http://search.yahoo.com > >>>_______________________________________________ > >>>Chameleon mailing list > >>>Chameleon@lists.maptools.org > >>> > >> > >>http://lists.maptools.org/mailman/listinfo/chameleon > >> > >>-- > >> > > > > > ------------------------------------------------------------ > > > >>Julien-Samuel Lacroix > >>jlacroix@dmsolutions.ca > >>DM Solutions Group > >>http://www.dmsolutions.ca/ > >> > > > > > ------------------------------------------------------------ > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Search - Find what you’re looking for > faster > > http://search.yahoo.com > > > > -- > ------------------------------------------------------------ > Julien-Samuel Lacroix > jlacroix@dmsolutions.ca > DM Solutions Group > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |