[mapguide-users] Edit digitizing style

ruivilanova rui.vilanova at gismedia.pt
Fri Oct 26 06:23:24 EDT 2007


I found the solution.
In function InitFeedback in digitize.js file, replace rd.height = this.fbW +
"px"; for rd.height = this.fbH + "px";

Cheers



ruivilanova wrote:
> 
> Thanks Andy, it works.
> 
> Anyway, I found a bug. When the map height is bigger then the width, I can
> only digitize a polygon or a linestring in the top of the map. 
> If you apply a border to the feedback class in the ajaxmappane.templ, you
> can see it when you're digitizing. It doesn't allow to digitize out of
> that border.
> 
> Kind regards,
> 
> Rui
> 
> 
> 
> 
> 
> -----Mensagem original-----
> De: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org]Em nome de Andy Morsell
> Enviada: quinta-feira, 25 de Outubro de 2007 18:05
> Para: 'MapGuide Users Mail List'
> Assunto: RE: [mapguide-users] Edit digitizing style
> 
> 
> Take a look at the ajaxmappane.templ file.  Specifically, the
> DigitizePoint,
> DigitizePolygon, and so on functions.  Each one calls StartDigitizing
> which
> then calls a digitizer from the digitize.js script file.  The digitizer
> has
> a parameter that is color (fbColor).  It is the 6th parameter (the default
> is black, #000000).  Change that parameter to whatever web color you want
> and it should work.  Keep in mind that making this change will be a global
> site change......
> 
> 
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
> 
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of ruivilanova
> Sent: Thursday, October 25, 2007 8:05 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Edit digitizing style
> 
> 
> Hi,
> 
> 
> does anyone know if it's possible to edit the digitizing line style? I
> mean,
> I want a red line instead of a black one.
> 
> 
> Thanks in advance,
> 
> 
> Rui
> 
> 
> --
> View this message in context:
> http://www.nabble.com/Edit-digitizing-style-tf4691477s16610.html#a13408727
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Edit-digitizing-style-tf4691477s16610.html#a13424469
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list