# Graphically Editing Shapes

**URL:** <https://community.thinkgeo.com/t/graphically-editing-shapes/329>\
**Category:** WinForms\
**Created:** [April 3, 2009, 5:03am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329 "2009-04-03T05:03:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ted](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@Ted](https://community.thinkgeo.com/u/Ted)\
**Post date:** [April 3, 2009, 5:03am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/1 "2009-04-03T05:03:27Z")

</div>

Are&nbsp;there&nbsp;any&nbsp;good&nbsp;forum&nbsp;threads&nbsp;or&nbsp;help&nbsp;topics&nbsp;that&nbsp;talk&nbsp;about&nbsp;the&nbsp;GeoCanvas,&nbsp;or&nbsp;the&nbsp;.Draw&nbsp;methods&nbsp;on&nbsp;the&nbsp;styles&nbsp;and&nbsp;layers?&nbsp;&nbsp;&nbsp;For&nbsp;instance,&nbsp;I&nbsp;have&nbsp;no&nbsp;clue&nbsp;what&nbsp;the&nbsp;drawing&nbsp;level&nbsp;is.&nbsp;&nbsp;&nbsp;And&nbsp;I&nbsp;don't&nbsp;know&nbsp;the&nbsp;significance&nbsp;of&nbsp;the&nbsp;"LabelsInThisLayer"&nbsp;vs&nbsp;"LabelsInAllLayers"&nbsp;parameters&nbsp;etc.

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 7, 2009, 10:42pm UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/2 "2009-04-07T22:42:25Z")

</div>

Ted,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;found&nbsp;this&nbsp;post&nbsp;and&nbsp;pulled&nbsp;out&nbsp;the&nbsp;important&nbsp;parts&nbsp;for&nbsp;you&nbsp;on&nbsp;DrawingLevel.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Drawing&nbsp;Level&nbsp;Full&nbsp;Post:&nbsp;  
&nbsp;[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/5273/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/5273/afv/topic/Default.aspx)&nbsp;  
&nbsp;&nbsp;  
&nbsp;Inside&nbsp;of&nbsp;the&nbsp;Style’s&nbsp;Draw&nbsp;method&nbsp;is&nbsp;where&nbsp;we&nbsp;make&nbsp;calls&nbsp;the&nbsp;GeoCanvas&nbsp;to&nbsp;draw&nbsp;everything.&nbsp;When&nbsp;we&nbsp;make&nbsp;the&nbsp;call&nbsp;like&nbsp;GeoCanvas.DrawLine&nbsp;we&nbsp;have&nbsp;a&nbsp;parameter&nbsp;that&nbsp;is&nbsp;called&nbsp;drawing&nbsp;level,&nbsp;it&nbsp;is&nbsp;an&nbsp;enumeration&nbsp;and&nbsp;I&nbsp;think&nbsp;we&nbsp;have&nbsp;five&nbsp;of&nbsp;them.&nbsp;What&nbsp;happens&nbsp;is&nbsp;for&nbsp;every&nbsp;drawing&nbsp;level&nbsp;used&nbsp;we&nbsp;create&nbsp;a&nbsp;temporary&nbsp;bitmap.&nbsp;When&nbsp;you&nbsp;draw&nbsp;a&nbsp;simple&nbsp;line&nbsp;then&nbsp;it&nbsp;draws&nbsp;on&nbsp;level&nbsp;one&nbsp;by&nbsp;default.&nbsp;If&nbsp;you&nbsp;have&nbsp;a&nbsp;complex&nbsp;line&nbsp;like&nbsp;a&nbsp;street&nbsp;that&nbsp;you&nbsp;might&nbsp;want&nbsp;to&nbsp;display&nbsp;as&nbsp;a&nbsp;solid&nbsp;thick&nbsp;black&nbsp;line&nbsp;with&nbsp;a&nbsp;thinner&nbsp;white&nbsp;line&nbsp;inside&nbsp;then&nbsp;what&nbsp;we&nbsp;do&nbsp;is&nbsp;draw&nbsp;the&nbsp;thick&nbsp;black&nbsp;like&nbsp;on&nbsp;level&nbsp;1&nbsp;and&nbsp;then&nbsp;the&nbsp;thinner&nbsp;white&nbsp;line&nbsp;on&nbsp;level&nbsp;2.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;When&nbsp;we&nbsp;are&nbsp;done&nbsp;with&nbsp;drawing&nbsp;that&nbsp;layer&nbsp;and&nbsp;the&nbsp;GeoCanvas.Flush&nbsp;or&nbsp;EndDrawing&nbsp;is&nbsp;called&nbsp;we&nbsp;composite&nbsp;the&nbsp;bitmaps&nbsp;in&nbsp;layer&nbsp;drawing&nbsp;order&nbsp;and&nbsp;it&nbsp;create&nbsp;the&nbsp;final&nbsp;bitmap.&nbsp;There&nbsp;are&nbsp;a&nbsp;number&nbsp;of&nbsp;reasons&nbsp;why&nbsp;do&nbsp;that.&nbsp;First&nbsp;is&nbsp;that&nbsp;if&nbsp;we&nbsp;were&nbsp;to&nbsp;draw&nbsp;the&nbsp;black&nbsp;and&nbsp;white&nbsp;line&nbsp;in&nbsp;order&nbsp;by&nbsp;feature&nbsp;the&nbsp;effect&nbsp;would&nbsp;not&nbsp;look&nbsp;very&nbsp;good&nbsp;because&nbsp;of&nbsp;the&nbsp;caps&nbsp;at&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;lines.&nbsp;The&nbsp;white&nbsp;area&nbsp;would&nbsp;not&nbsp;seamlessly&nbsp;merge&nbsp;into&nbsp;an&nbsp;adjoining&nbsp;line&nbsp;correctly.&nbsp;You&nbsp;would&nbsp;get&nbsp;bad&nbsp;looking&nbsp;artefacts&nbsp;of&nbsp;where&nbsp;the&nbsp;black&nbsp;line&nbsp;would&nbsp;intersect&nbsp;the&nbsp;white&nbsp;line&nbsp;a&nbsp;little&nbsp;bit.&nbsp;The&nbsp;other&nbsp;method&nbsp;we&nbsp;had&nbsp;in&nbsp;2.x&nbsp;would&nbsp;be&nbsp;to&nbsp;draw&nbsp;all&nbsp;the&nbsp;black&nbsp;lines&nbsp;first,&nbsp;then&nbsp;loop&nbsp;through&nbsp;the&nbsp;features&nbsp;again&nbsp;and&nbsp;draw&nbsp;the&nbsp;white&nbsp;lines.&nbsp;The&nbsp;problem&nbsp;with&nbsp;that&nbsp;is&nbsp;at&nbsp;any&nbsp;moment&nbsp;if&nbsp;you&nbsp;wanted&nbsp;to&nbsp;interrupt&nbsp;the&nbsp;drawing&nbsp;process&nbsp;then&nbsp;you&nbsp;would&nbsp;get&nbsp;a&nbsp;picture&nbsp;of&nbsp;all&nbsp;black&nbsp;lines&nbsp;with&nbsp;some&nbsp;white&nbsp;lines&nbsp;but&nbsp;not&nbsp;all&nbsp;of&nbsp;them.&nbsp;The&nbsp;other&nbsp;reason&nbsp;is&nbsp;that&nbsp;it&nbsp;makes&nbsp;the&nbsp;code&nbsp;in&nbsp;the&nbsp;GeoCanvas&nbsp;much&nbsp;more&nbsp;elegant&nbsp;and&nbsp;avoids&nbsp;caching&nbsp;a&nbsp;bunch&nbsp;of&nbsp;future&nbsp;drawing&nbsp;requests.&nbsp;In&nbsp;our&nbsp;system&nbsp;we&nbsp;draw&nbsp;the&nbsp;each&nbsp;record&nbsp;for&nbsp;every&nbsp;style&nbsp;once&nbsp;and&nbsp;no&nbsp;need&nbsp;for&nbsp;extra&nbsp;looping.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;LabelsInThisLayer&nbsp;&&nbsp;LabelsInAllLayers:&nbsp;  
&nbsp;&nbsp;  
&nbsp;These&nbsp;two&nbsp;collection&nbsp;contain&nbsp;labeling&nbsp;information.&nbsp;&nbsp;We&nbsp;use&nbsp;this&nbsp;to&nbsp;communicate&nbsp;from&nbsp;one&nbsp;layer&nbsp;to&nbsp;another&nbsp;where&nbsp;labels&nbsp;have&nbsp;already&nbsp;been&nbsp;drawn.&nbsp;&nbsp;If&nbsp;we&nbsp;have&nbsp;a&nbsp;stack&nbsp;of&nbsp;three&nbsp;label&nbsp;layers&nbsp;and&nbsp;we&nbsp;want&nbsp;to&nbsp;draw&nbsp;them&nbsp;so&nbsp;the&nbsp;labels&nbsp;do&nbsp;not&nbsp;overlap&nbsp;then&nbsp;we&nbsp;need&nbsp;this.&nbsp;&nbsp;The&nbsp;first&nbsp;layer&nbsp;will&nbsp;start&nbsp;to&nbsp;render&nbsp;and&nbsp;the&nbsp;LabelsInThisLayer&nbsp;and&nbsp;LabelsInAllLayers&nbsp;will&nbsp;both&nbsp;be&nbsp;empty.&nbsp;&nbsp;The&nbsp;first&nbsp;layer&nbsp;will&nbsp;draw&nbsp;its&nbsp;labels&nbsp;and&nbsp;add&nbsp;where&nbsp;it&nbsp;drew&nbsp;them&nbsp;to&nbsp;both&nbsp;collection.&nbsp;&nbsp;When&nbsp;the&nbsp;next&nbsp;layer&nbsp;goes&nbsp;to&nbsp;draw&nbsp;the&nbsp;LabelsInThisLayer&nbsp;will&nbsp;be&nbsp;empty&nbsp;again&nbsp;but&nbsp;the&nbsp;LabelsInAllLayers&nbsp;will&nbsp;contain&nbsp;all&nbsp;of&nbsp;the&nbsp;labels&nbsp;from&nbsp;the&nbsp;first&nbsp;layer.&nbsp;&nbsp;When&nbsp;the&nbsp;second&nbsp;layer&nbsp;is&nbsp;drawing&nbsp;labels&nbsp;it&nbsp;will&nbsp;make&nbsp;sure&nbsp;not&nbsp;to&nbsp;overlap&nbsp;labels&nbsp;from&nbsp;previous&nbsp;layers.&nbsp;&nbsp;It&nbsp;will&nbsp;also&nbsp;add&nbsp;its&nbsp;labels&nbsp;to&nbsp;both&nbsp;collections.&nbsp;&nbsp;The&nbsp;LabelsInThisLayer&nbsp;is&nbsp;not&nbsp;really&nbsp;used&nbsp;much&nbsp;but&nbsp;there&nbsp;for&nbsp;some&nbsp;far&nbsp;out&nbsp;cases&nbsp;where&nbsp;you&nbsp;want&nbsp;to&nbsp;know&nbsp;just&nbsp;the&nbsp;new&nbsp;labels&nbsp;that&nbsp;were&nbsp;added.&nbsp;&nbsp;As&nbsp;you&nbsp;can&nbsp;see&nbsp;if&nbsp;you&nbsp;are&nbsp;doing&nbsp;your&nbsp;own&nbsp;drawing&nbsp;and&nbsp;not&nbsp;labeling&nbsp;you&nbsp;can&nbsp;always&nbsp;pass&nbsp;in&nbsp;empty&nbsp;collection&nbsp;and&nbsp;there&nbsp;will&nbsp;not&nbsp;be&nbsp;any&nbsp;issues.&nbsp;&nbsp;Like&nbsp;I&nbsp;said&nbsp;the&nbsp;purpose&nbsp;for&nbsp;them&nbsp;is&nbsp;to&nbsp;allow&nbsp;some&nbsp;communication&nbsp;between&nbsp;layers&nbsp;on&nbsp;where&nbsp;labels&nbsp;are&nbsp;so&nbsp;they&nbsp;do&nbsp;no&nbsp;collide.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;David

---

<div class="post-metadata">

**Author:** ![Ted](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@Ted](https://community.thinkgeo.com/u/Ted)\
**Post date:** [April 8, 2009, 1:54am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/3 "2009-04-08T01:54:45Z")

</div>

This&nbsp;helps&nbsp;a&nbsp;lot.&nbsp;&nbsp;&nbsp;The&nbsp;levels&nbsp;is&nbsp;a&nbsp;new&nbsp;concept&nbsp;to&nbsp;me,&nbsp;but&nbsp;seems&nbsp;quite&nbsp;powerful.&nbsp;&nbsp;&nbsp;&nbsp;Resultant&nbsp;questions:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1)&nbsp;Just&nbsp;confirming:&nbsp;&nbsp;The&nbsp;compositing&nbsp;of&nbsp;the&nbsp;bitmaps&nbsp;is&nbsp;done&nbsp;at&nbsp;the&nbsp;layer&nbsp;level?&nbsp;&nbsp;&nbsp;It&nbsp;does&nbsp;not&nbsp;cross&nbsp;layers,&nbsp;right?&nbsp;  
&nbsp;&nbsp;  
&nbsp;2)&nbsp;There&nbsp;was&nbsp;prior&nbsp;discussion&nbsp;about&nbsp;the&nbsp;need&nbsp;to&nbsp;have&nbsp;a&nbsp;second&nbsp;layer&nbsp;for&nbsp;labels.&nbsp;&nbsp;&nbsp;Can&nbsp;we&nbsp;not&nbsp;use&nbsp;a&nbsp;level&nbsp;for&nbsp;the&nbsp;labels,&nbsp;and&nbsp;draw&nbsp;labels&nbsp;at&nbsp;the&nbsp;same&nbsp;time&nbsp;as&nbsp;we&nbsp;draw&nbsp;the&nbsp;other&nbsp;feature&nbsp;styles?&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;would&nbsp;keep&nbsp;the&nbsp;second&nbsp;polygon&nbsp;in&nbsp;a&nbsp;layer&nbsp;from&nbsp;overlying&nbsp;the&nbsp;label&nbsp;written&nbsp;for&nbsp;an&nbsp;adjoining&nbsp;small&nbsp;first&nbsp;polygon,&nbsp;right?&nbsp;  
&nbsp;&nbsp;  
&nbsp;3)&nbsp;Do&nbsp;you&nbsp;drawing&nbsp;routines&nbsp;detect&nbsp;and&nbsp;optimize&nbsp;for&nbsp;label&nbsp;collision&nbsp;within&nbsp;or&nbsp;across&nbsp;layers?

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 8, 2009, 7:55am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/4 "2009-04-08T07:55:54Z")

</div>

Ted,&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.This&nbsp;is&nbsp;sort&nbsp;of&nbsp;correct.&nbsp;&nbsp;I&nbsp;mean&nbsp;when&nbsp;the&nbsp;Desktop&nbsp;draws&nbsp;etc&nbsp;then&nbsp;this&nbsp;is&nbsp;the&nbsp;case.&nbsp;&nbsp;After&nbsp;each&nbsp;layer&nbsp;we&nbsp;call&nbsp;the&nbsp;GeoCanvas.Flush&nbsp;which&nbsp;combines&nbsp;them&nbsp;all&nbsp;and&nbsp;then&nbsp;we&nbsp;start&nbsp;the&nbsp;next&nbsp;layer.&nbsp;&nbsp;At&nbsp;the&nbsp;same&nbsp;time&nbsp;this&nbsp;does&nbsp;not&nbsp;have&nbsp;to&nbsp;be&nbsp;the&nbsp;case&nbsp;if&nbsp;you&nbsp;control&nbsp;everything.&nbsp;&nbsp;If&nbsp;you&nbsp;instantiate&nbsp;a&nbsp;GdiPlusGeoCanvas,&nbsp;call&nbsp;the&nbsp;BeginDraw&nbsp;and&nbsp;then&nbsp;pass&nbsp;it&nbsp;into&nbsp;two&nbsp;layers,&nbsp;one&nbsp;after&nbsp;another,&nbsp;then&nbsp;it&nbsp;will&nbsp;span&nbsp;layers.&nbsp;&nbsp;This&nbsp;is&nbsp;because&nbsp;you&nbsp;have&nbsp;to&nbsp;control&nbsp;and&nbsp;tell&nbsp;the&nbsp;GeoCanvas&nbsp;when&nbsp;it&nbsp;will&nbsp;combine&nbsp;them.&nbsp;&nbsp;You&nbsp;see&nbsp;what&nbsp;I&nbsp;mean.&nbsp;  
&nbsp;&nbsp;  
&nbsp;On&nbsp;interesting&nbsp;side&nbsp;effect&nbsp;of&nbsp;this&nbsp;is&nbsp;that&nbsp;if&nbsp;we&nbsp;expanded&nbsp;the&nbsp;drawing&nbsp;level&nbsp;then&nbsp;it&nbsp;would&nbsp;be&nbsp;possible&nbsp;in&nbsp;theory&nbsp;to&nbsp;draw&nbsp;the&nbsp;labels&nbsp;at&nbsp;the&nbsp;same&nbsp;time&nbsp;the&nbsp;regular&nbsp;shapes&nbsp;draw&nbsp;in&nbsp;one&nbsp;layer&nbsp;but&nbsp;place&nbsp;it&nbsp;at&nbsp;a&nbsp;really&nbsp;high&nbsp;level&nbsp;and&nbsp;not&nbsp;flush&nbsp;it.&nbsp;&nbsp;I&nbsp;think&nbsp;there&nbsp;may&nbsp;be&nbsp;an&nbsp;interesting&nbsp;way&nbsp;to&nbsp;draw&nbsp;labels&nbsp;and&nbsp;shapes&nbsp;in&nbsp;one&nbsp;layer.&nbsp;&nbsp;I&nbsp;need&nbsp;to&nbsp;think&nbsp;about&nbsp;this&nbsp;some&nbsp;more.&nbsp;&nbsp;Thanks&nbsp;for&nbsp;asking&nbsp;this&nbsp;question.&nbsp;:-)&nbsp;  
&nbsp;&nbsp;  
&nbsp;2.I&nbsp;didn’t&nbsp;even&nbsp;read&nbsp;your&nbsp;second&nbsp;point&nbsp;before&nbsp;I&nbsp;answered&nbsp;the&nbsp;first.&nbsp;&nbsp;I&nbsp;think&nbsp;this&nbsp;may&nbsp;be&nbsp;possible&nbsp;however&nbsp;I&nbsp;need&nbsp;to&nbsp;consider&nbsp;this&nbsp;very&nbsp;carefully.&nbsp;&nbsp;I&nbsp;think&nbsp;they&nbsp;may&nbsp;be&nbsp;something&nbsp;here&nbsp;but&nbsp;there&nbsp;are&nbsp;many&nbsp;scenarios&nbsp;to&nbsp;consider.&nbsp;&nbsp;One&nbsp;thing&nbsp;that&nbsp;we&nbsp;vowed&nbsp;when&nbsp;thinking&nbsp;up&nbsp;the&nbsp;3.x&nbsp;framework&nbsp;is&nbsp;that&nbsp;we&nbsp;did&nbsp;not&nbsp;want&nbsp;to&nbsp;make&nbsp;labels&nbsp;special.&nbsp;&nbsp;We&nbsp;wanted&nbsp;them&nbsp;to&nbsp;fit&nbsp;into&nbsp;the&nbsp;same&nbsp;overall&nbsp;framework&nbsp;that&nbsp;everything&nbsp;else&nbsp;did.&nbsp;&nbsp;In&nbsp;2.x&nbsp;the&nbsp;code&nbsp;got&nbsp;really&nbsp;messy&nbsp;because&nbsp;there&nbsp;was&nbsp;all&nbsp;kinds&nbsp;of&nbsp;custom&nbsp;logic&nbsp;to&nbsp;wedge&nbsp;labeling&nbsp;in&nbsp;and&nbsp;we&nbsp;didn’t&nbsp;like&nbsp;that&nbsp;at&nbsp;all.&nbsp;&nbsp;This&nbsp;doesn’t&nbsp;mean&nbsp;we&nbsp;wont&nbsp;do&nbsp;this,&nbsp;we&nbsp;just&nbsp;need&nbsp;to&nbsp;make&nbsp;sure&nbsp;it&nbsp;fits&nbsp;in&nbsp;right&nbsp;and&nbsp;we&nbsp;don’t&nbsp;try&nbsp;and&nbsp;wedge&nbsp;it&nbsp;in.&nbsp;  
&nbsp;&nbsp;  
&nbsp;3.We&nbsp;do&nbsp;a&nbsp;bunch&nbsp;of&nbsp;label&nbsp;collision&nbsp;stuff.&nbsp;&nbsp;If&nbsp;you&nbsp;check&nbsp;out&nbsp;the&nbsp;methods&nbsp;on&nbsp;TextStyle&nbsp;you&nbsp;will&nbsp;see&nbsp;there&nbsp;are&nbsp;quite&nbsp;a&nbsp;few&nbsp;controls&nbsp;over&nbsp;how&nbsp;this&nbsp;is&nbsp;processed.&nbsp;&nbsp;We&nbsp;also&nbsp;have&nbsp;some&nbsp;nice&nbsp;Core&nbsp;methods&nbsp;for&nbsp;people&nbsp;to&nbsp;enhance&nbsp;and&nbsp;create&nbsp;special&nbsp;purpose&nbsp;labelers&nbsp;without&nbsp;having&nbsp;to&nbsp;do&nbsp;everything&nbsp;from&nbsp;scratch.&nbsp;&nbsp;We&nbsp;have&nbsp;had&nbsp;a&nbsp;few&nbsp;customers&nbsp;build&nbsp;their&nbsp;own&nbsp;labelers&nbsp;for&nbsp;custom&nbsp;applications.&nbsp;&nbsp;We&nbsp;do&nbsp;collision&nbsp;detection&nbsp;across&nbsp;layers&nbsp;as&nbsp;well&nbsp;which&nbsp;is&nbsp;what&nbsp;that&nbsp;LabelsInAllLayers&nbsp;collection&nbsp;is&nbsp;about,&nbsp;it&nbsp;passes&nbsp;the&nbsp;labels&nbsp;already&nbsp;drawn&nbsp;to&nbsp;the&nbsp;next&nbsp;layer&nbsp;so&nbsp;they&nbsp;can&nbsp;be&nbsp;avoided.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;On&nbsp;a&nbsp;side&nbsp;note,&nbsp;I&nbsp;saw&nbsp;some&nbsp;of&nbsp;the&nbsp;new&nbsp;editing&nbsp;APIs&nbsp;for&nbsp;the&nbsp;Desktop&nbsp;Edition&nbsp;and&nbsp;man&nbsp;are&nbsp;they&nbsp;sweet!&nbsp;&nbsp;The&nbsp;whole&nbsp;editing&nbsp;system&nbsp;will&nbsp;be&nbsp;so&nbsp;flexible&nbsp;and&nbsp;be&nbsp;able&nbsp;to&nbsp;handle&nbsp;all&nbsp;kinds&nbsp;of&nbsp;complex&nbsp;scenarios&nbsp;and&nbsp;custom&nbsp;editing&nbsp;requirements.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;David

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 8, 2009, 10:31am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/5 "2009-04-08T10:31:41Z")

</div>

Hi&nbsp;David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Quote\>On&nbsp;a&nbsp;side&nbsp;note,&nbsp;I&nbsp;saw&nbsp;some&nbsp;of&nbsp;the&nbsp;new&nbsp;editing&nbsp;APIs&nbsp;for&nbsp;the&nbsp;Desktop&nbsp;Edition&nbsp;and&nbsp;man&nbsp;are&nbsp;they&nbsp;sweet!&nbsp;The&nbsp;whole&nbsp;editing&nbsp;system&nbsp;will&nbsp;be&nbsp;so&nbsp;flexible&nbsp;and&nbsp;be&nbsp;able&nbsp;to&nbsp;handle&nbsp;all&nbsp;kinds&nbsp;of&nbsp;complex&nbsp;scenarios&nbsp;and&nbsp;custom&nbsp;editing&nbsp;requirements.\<EndQuote&nbsp;  
&nbsp;&nbsp;  
&nbsp;So&nbsp;long&nbsp;as&nbsp;there&nbsp;is&nbsp;support&nbsp;for&nbsp;deleting&nbsp;a&nbsp;vertex&nbsp;in&nbsp;the&nbsp;editor&nbsp;it&nbsp;gets&nbsp;my&nbsp;vote,&nbsp;Ben&nbsp;kind&nbsp;of&nbsp;hinted&nbsp;that&nbsp;this&nbsp;is&nbsp;not&nbsp;there&nbsp;at&nbsp;present,&nbsp;it&nbsp;does&nbsp;need&nbsp;to&nbsp;be&nbsp;there.&nbsp;&nbsp;Just&nbsp;try&nbsp;running&nbsp;Word&nbsp;or&nbsp;Visual&nbsp;Studio&nbsp;and&nbsp;doing&nbsp;without&nbsp;the&nbsp;backspace&nbsp;or&nbsp;delete&nbsp;keys!&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;&nbsp;  
&nbsp;John

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 9, 2009, 9:02am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/6 "2009-04-09T09:02:49Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;I&nbsp;can&nbsp;tell&nbsp;you&nbsp;with&nbsp;certainty&nbsp;that&nbsp;delete&nbsp;will&nbsp;be&nbsp;there.&nbsp;&nbsp;What&nbsp;the&nbsp;guys&nbsp;are&nbsp;hashing&nbsp;out&nbsp;now&nbsp;is&nbsp;a&nbsp;better&nbsp;way&nbsp;to&nbsp;add&nbsp;new&nbsp;vertices.&nbsp;&nbsp;Currently&nbsp;we&nbsp;place&nbsp;new&nbsp;points&nbsp;at&nbsp;the&nbsp;midpoint&nbsp;of&nbsp;the&nbsp;line.&nbsp;&nbsp;This&nbsp;doesn’t&nbsp;work&nbsp;so&nbsp;well&nbsp;for&nbsp;many&nbsp;applications.&nbsp;&nbsp;I&nbsp;think&nbsp;the&nbsp;plan&nbsp;is&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;add&nbsp;a&nbsp;vertex&nbsp;wherever&nbsp;you&nbsp;click.&nbsp;&nbsp;The&nbsp;add&nbsp;and&nbsp;delete&nbsp;might&nbsp;be&nbsp;right&nbsp;mouse&nbsp;click&nbsp;items&nbsp;but&nbsp;not&nbsp;100%&nbsp;sure.&nbsp;&nbsp;We&nbsp;hate&nbsp;to&nbsp;do&nbsp;that&nbsp;as&nbsp;developers&nbsp;like&nbsp;to&nbsp;use&nbsp;the&nbsp;right&nbsp;click&nbsp;for&nbsp;their&nbsp;stuff.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;You&nbsp;use&nbsp;the&nbsp;delete&nbsp;key&nbsp;in&nbsp;Visual&nbsp;Studio?&nbsp;&nbsp;If&nbsp;I&nbsp;make&nbsp;a&nbsp;mistake&nbsp;I&nbsp;just&nbsp;add&nbsp;more&nbsp;code&nbsp;to&nbsp;fix&nbsp;it.&nbsp;:-)&nbsp;  
&nbsp;&nbsp;  
&nbsp;David

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 9, 2009, 9:20am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/7 "2009-04-09T09:20:16Z")

</div>

Hi&nbsp;David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sounds&nbsp;good,&nbsp;the&nbsp;right&nbsp;click&nbsp;sounds&nbsp;like&nbsp;an&nbsp;very&nbsp;bad&nbsp;move.&nbsp;&nbsp;The&nbsp;convention&nbsp;in&nbsp;Windows&nbsp;for&nbsp;the&nbsp;right&nbsp;click&nbsp;is&nbsp;the&nbsp;pop-up&nbsp;menu…&nbsp;  
&nbsp;&nbsp;  
&nbsp;Double&nbsp;ckicking&nbsp;on&nbsp;a&nbsp;vertex&nbsp;would&nbsp;be&nbsp;one&nbsp;way&nbsp;of&nbsp;signalling&nbsp;you&nbsp;wish&nbsp;to&nbsp;delete&nbsp;a&nbsp;it&nbsp;and&nbsp;what’s&nbsp;wrong&nbsp;with&nbsp;mouse&nbsp;down&nbsp;on&nbsp;a&nbsp;line/side&nbsp;and&nbsp;then&nbsp;moving&nbsp;the&nbsp;mouse&nbsp;inserts&nbsp;a&nbsp;vertex&nbsp;and&nbsp;starts&nbsp;to&nbsp;drag&nbsp;it?&nbsp;  
&nbsp;&nbsp;  
&nbsp;John&nbsp;

---

<div class="post-metadata">

**Author:** ![Ted](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@Ted](https://community.thinkgeo.com/u/Ted)\
**Post date:** [April 9, 2009, 9:20am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/8 "2009-04-09T09:20:54Z")

</div>

Here&nbsp;is&nbsp;how&nbsp;the&nbsp;vertex&nbsp;editor&nbsp;works&nbsp;in&nbsp;our&nbsp;system,&nbsp;for&nbsp;reference:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1)&nbsp;Left&nbsp;click&nbsp;close&nbsp;to&nbsp;a&nbsp;vertex,&nbsp;and&nbsp;drag&nbsp;it&nbsp;to&nbsp;a&nbsp;new&nbsp;location.&nbsp;  
&nbsp;2)&nbsp;Left&nbsp;click&nbsp;somewhere&nbsp;on&nbsp;a&nbsp;line&nbsp;(away&nbsp;from&nbsp;a&nbsp;vertex)&nbsp;and&nbsp;that&nbsp;adds&nbsp;the&nbsp;vertex&nbsp;onto&nbsp;the&nbsp;line&nbsp;at&nbsp;the&nbsp;mouse&nbsp;location,&nbsp;and&nbsp;lets&nbsp;you&nbsp;drag&nbsp;it.&nbsp;  
&nbsp;3)&nbsp;Right&nbsp;click&nbsp;near&nbsp;a&nbsp;vertex&nbsp;and&nbsp;it&nbsp;deletes&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;This&nbsp;really&nbsp;works&nbsp;slick.&nbsp;&nbsp;&nbsp;I&nbsp;can&nbsp;&nbsp;do&nbsp;a&nbsp;huge&nbsp;amount&nbsp;of&nbsp;vertex&nbsp;editing&nbsp;with&nbsp;very&nbsp;few&nbsp;mouse&nbsp;clicks.&nbsp;&nbsp;No&nbsp;insert,&nbsp;move,&nbsp;or&nbsp;delete&nbsp;takes&nbsp;more&nbsp;than&nbsp;one&nbsp;down&nbsp;click&nbsp;and&nbsp;optional&nbsp;drag.&nbsp;&nbsp;&nbsp;I&nbsp;can&nbsp;capture&nbsp;a&nbsp;video&nbsp;of&nbsp;it,&nbsp;if&nbsp;it&nbsp;would&nbsp;help.&nbsp;&nbsp;&nbsp;(not&nbsp;that&nbsp;I’m&nbsp;lobbying&nbsp;hard&nbsp;for&nbsp;this&nbsp;behavior&nbsp;:))

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 9, 2009, 9:31am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/9 "2009-04-09T09:31:44Z")

</div>

John&nbsp;/&nbsp;Ted,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;I&nbsp;meant&nbsp;that&nbsp;a&nbsp;right&nbsp;click&nbsp;would&nbsp;bring&nbsp;up&nbsp;a&nbsp;menu&nbsp;to&nbsp;add&nbsp;or&nbsp;delete&nbsp;a&nbsp;vertex&nbsp;depending&nbsp;on&nbsp;where&nbsp;you&nbsp;were.&nbsp;&nbsp;I&nbsp;do&nbsp;like&nbsp;the&nbsp;idea&nbsp;of&nbsp;staying&nbsp;away&nbsp;from&nbsp;context&nbsp;menus&nbsp;and&nbsp;having&nbsp;a&nbsp;quick&nbsp;and&nbsp;easy&nbsp;way&nbsp;to&nbsp;do&nbsp;the&nbsp;editing&nbsp;with&nbsp;minimal&nbsp;steps.&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;On&nbsp;thing&nbsp;with&nbsp;the&nbsp;click&nbsp;on&nbsp;a&nbsp;line&nbsp;and&nbsp;then&nbsp;draw&nbsp;is&nbsp;that&nbsp;we&nbsp;also&nbsp;wanted&nbsp;for&nbsp;pan&nbsp;functionality&nbsp;to&nbsp;work&nbsp;as&nbsp;well.&nbsp;&nbsp;If&nbsp;you&nbsp;wanted&nbsp;to&nbsp;pan&nbsp;and&nbsp;accidentally&nbsp;mouse&nbsp;downed&nbsp;next&nbsp;to&nbsp;line&nbsp;then&nbsp;you&nbsp;would&nbsp;get&nbsp;a&nbsp;new&nbsp;point&nbsp;and&nbsp;start&nbsp;moving&nbsp;it.&nbsp;&nbsp;Of&nbsp;course&nbsp;you&nbsp;could&nbsp;always&nbsp;delete&nbsp;it&nbsp;though.&nbsp;&nbsp;What&nbsp;about&nbsp;some&nbsp;sort&nbsp;of&nbsp;undo&nbsp;functionality?&nbsp;&nbsp;What&nbsp;would&nbsp;you&nbsp;like&nbsp;to&nbsp;see&nbsp;there?&nbsp;  
&nbsp;&nbsp;  
&nbsp;John&nbsp;–&nbsp;What&nbsp;do&nbsp;you&nbsp;think&nbsp;about&nbsp;Ted’s&nbsp;suggestions?&nbsp;&nbsp;If&nbsp;you&nbsp;guys&nbsp;hash&nbsp;out&nbsp;a&nbsp;way&nbsp;I&nbsp;can&nbsp;bring&nbsp;it&nbsp;to&nbsp;the&nbsp;development&nbsp;team&nbsp;and&nbsp;push&nbsp;it.&nbsp;&nbsp;Now&nbsp;is&nbsp;the&nbsp;time&nbsp;to&nbsp;get&nbsp;me&nbsp;your&nbsp;feedback.&nbsp;  
&nbsp;&nbsp;  
&nbsp;David

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 9, 2009, 10:19am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/10 "2009-04-09T10:19:19Z")

</div>

Hi&nbsp;David,&nbsp;  
&nbsp;Appreciate&nbsp;the&nbsp;logic&nbsp;but&nbsp;we&nbsp;are&nbsp;still&nbsp;dead&nbsp;against&nbsp;anything&nbsp;on&nbsp;the&nbsp;RMB.&nbsp;&nbsp;There&nbsp;are&nbsp;an&nbsp;accepted&nbsp;set&nbsp;of&nbsp;guidelines&nbsp;in&nbsp;the&nbsp;Windows&nbsp;world&nbsp;about&nbsp;what&nbsp;‘should’&nbsp;happen&nbsp;when&nbsp;the&nbsp;users&nbsp;right&nbsp;click&nbsp;in&nbsp;a&nbsp;Windows&nbsp;app&nbsp;and&nbsp;whilst&nbsp;using&nbsp;the&nbsp;RMB&nbsp;for&nbsp;other&nbsp;purposes&nbsp;does&nbsp;not&nbsp;mean&nbsp;your&nbsp;app&nbsp;will&nbsp;fail&nbsp;acceptance&nbsp;tests&nbsp;you&nbsp;generally&nbsp;get&nbsp;warned&nbsp;about&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;have&nbsp;a&nbsp;fairly&nbsp;complex&nbsp;dynamic&nbsp;menu&nbsp;tied&nbsp;to&nbsp;the&nbsp;right&nbsp;mouse&nbsp;button&nbsp;on&nbsp;the&nbsp;map&nbsp;control.&nbsp;&nbsp;Users&nbsp;are&nbsp;going&nbsp;to&nbsp;expect&nbsp;to&nbsp;be&nbsp;able&nbsp;to&nbsp;right&nbsp;click&nbsp;and&nbsp;get&nbsp;access&nbsp;to&nbsp;properties,&nbsp;charts&nbsp;and&nbsp;all&nbsp;sorts&nbsp;of&nbsp;other&nbsp;things.&nbsp;&nbsp;The&nbsp;use&nbsp;of&nbsp;the&nbsp;editor&nbsp;is&nbsp;almost&nbsp;seamless&nbsp;so&nbsp;far&nbsp;as&nbsp;users&nbsp;are&nbsp;concerned.&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;must&nbsp;use&nbsp;a&nbsp;menu&nbsp;why&nbsp;not&nbsp;do&nbsp;a&nbsp;couple&nbsp;of&nbsp;things:-&nbsp;  
&nbsp;&nbsp;  
&nbsp;1. Provide&nbsp;the&nbsp;methods&nbsp;that&nbsp;insert&nbsp;and&nbsp;delete,&nbsp;they&nbsp;could&nbsp;be&nbsp;added&nbsp;to&nbsp;the&nbsp;any&nbsp;existing&nbsp;right&nbsp;click&nbsp;menu&nbsp;or&nbsp;  
&nbsp;2. If&nbsp;there&nbsp;is&nbsp;no&nbsp;right&nbsp;click&nbsp;menu&nbsp;assigned&nbsp;to&nbsp;the&nbsp;map&nbsp;control&nbsp;then&nbsp;bring&nbsp;up&nbsp;your&nbsp;own&nbsp;or&nbsp;&nbsp;  
&nbsp;3. Allow&nbsp;the&nbsp;developer&nbsp;to&nbsp;add&nbsp;things&nbsp;to&nbsp;the&nbsp;right&nbsp;click&nbsp;menu&nbsp;you&nbsp;have&nbsp;in&nbsp;the&nbsp;editor&nbsp;in&nbsp;order&nbsp;to&nbsp;maintain&nbsp;a&nbsp;consistent&nbsp;UI.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Of&nbsp;the&nbsp;three&nbsp;options&nbsp;I&nbsp;would&nbsp;favour&nbsp;the&nbsp;first.&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;don’t&nbsp;use&nbsp;the&nbsp;RMB,&nbsp;I&nbsp;appreciate&nbsp;your&nbsp;concerns&nbsp;about&nbsp;panning,&nbsp;but&nbsp;here&nbsp;you&nbsp;are&nbsp;assuming&nbsp;that&nbsp;the&nbsp;LMB&nbsp;down&nbsp;and&nbsp;move&nbsp;will&nbsp;always&nbsp;pan&nbsp;the&nbsp;map.&nbsp;&nbsp;This&nbsp;is&nbsp;currently&nbsp;a&nbsp;huge&nbsp;‘show&nbsp;stopper’&nbsp;for&nbsp;us,&nbsp;V3&nbsp;is&nbsp;the&nbsp;only&nbsp;GIS&nbsp;control&nbsp;I&nbsp;have&nbsp;seen&nbsp;where&nbsp;you&nbsp;have&nbsp;no&nbsp;control&nbsp;over&nbsp;what&nbsp;happens&nbsp;when&nbsp;the&nbsp;user&nbsp;holds&nbsp;the&nbsp;ANY&nbsp;mouse&nbsp;button&nbsp;down&nbsp;and&nbsp;moves&nbsp;the&nbsp;mouse,&nbsp;as&nbsp;it&nbsp;is&nbsp;at&nbsp;present,&nbsp;the&nbsp;map&nbsp;pans&nbsp;and&nbsp;there&nbsp;is&nbsp;no&nbsp;way&nbsp;of&nbsp;stopping&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hope&nbsp;this&nbsp;does&nbsp;not&nbsp;sound&nbsp;terribly&nbsp;negative;&nbsp;it’s&nbsp;just&nbsp;our&nbsp;point&nbsp;of&nbsp;view.&nbsp;  
&nbsp;&nbsp;  
&nbsp;John&nbsp;  
&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 9, 2009, 11:21am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/11 "2009-04-09T11:21:10Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;I&nbsp;understand&nbsp;your&nbsp;points&nbsp;on&nbsp;the&nbsp;right&nbsp;click.&nbsp;&nbsp;I&nbsp;think&nbsp;we&nbsp;can&nbsp;safely&nbsp;rule&nbsp;that&nbsp;out.&nbsp;&nbsp;As&nbsp;far&nbsp;as&nbsp;the&nbsp;Ted’s&nbsp;suggestion&nbsp;up&nbsp;till&nbsp;the&nbsp;right&nbsp;click&nbsp;part?&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.&nbsp;Drag&nbsp;Existing&nbsp;Vertex:&nbsp;Left&nbsp;click&nbsp;close&nbsp;to&nbsp;a&nbsp;vertex,&nbsp;and&nbsp;drag&nbsp;it&nbsp;to&nbsp;a&nbsp;new&nbsp;location.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;2.&nbsp;Add&nbsp;New&nbsp;Vertex:&nbsp;Left&nbsp;click&nbsp;somewhere&nbsp;on&nbsp;a&nbsp;line&nbsp;(away&nbsp;from&nbsp;a&nbsp;vertex)&nbsp;and&nbsp;that&nbsp;adds&nbsp;the&nbsp;vertex&nbsp;onto&nbsp;the&nbsp;line&nbsp;at&nbsp;the&nbsp;mouse&nbsp;location,&nbsp;and&nbsp;lets&nbsp;you&nbsp;drag&nbsp;it.&nbsp;  
&nbsp;&nbsp;&nbsp;  
&nbsp;3.&nbsp;Delete&nbsp;Vertex:&nbsp;Double&nbsp;click&nbsp;on&nbsp;existing&nbsp;vertex?&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;Of&nbsp;course&nbsp;we&nbsp;will&nbsp;set&nbsp;this&nbsp;up&nbsp;so&nbsp;that&nbsp;you&nbsp;can&nbsp;override&nbsp;all&nbsp;of&nbsp;this&nbsp;functionality.&nbsp;&nbsp;The&nbsp;way&nbsp;it&nbsp;is&nbsp;setup&nbsp;I&nbsp;believe&nbsp;is&nbsp;that&nbsp;in&nbsp;the&nbsp;EditOverlay&nbsp;there&nbsp;are&nbsp;virtual&nbsp;methods&nbsp;like&nbsp;Click,&nbsp;Double&nbsp;Click,&nbsp;Drag&nbsp;and&nbsp;Drop.&nbsp;&nbsp;The&nbsp;methods&nbsp;are&nbsp;only&nbsp;called&nbsp;when&nbsp;there&nbsp;are&nbsp;shapes&nbsp;in&nbsp;the&nbsp;edit&nbsp;overlay.&nbsp;&nbsp;You&nbsp;can&nbsp;override&nbsp;them&nbsp;so&nbsp;you&nbsp;can&nbsp;add&nbsp;code&nbsp;on&nbsp;a&nbsp;double&nbsp;click&nbsp;to&nbsp;find&nbsp;a&nbsp;existing&nbsp;control&nbsp;point&nbsp;and&nbsp;do&nbsp;whatever&nbsp;you&nbsp;want&nbsp;with&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;One&nbsp;thing&nbsp;that&nbsp;is&nbsp;critical&nbsp;is&nbsp;that&nbsp;the&nbsp;users&nbsp;be&nbsp;able&nbsp;to&nbsp;pan,&nbsp;zoom&nbsp;in&nbsp;and&nbsp;out&nbsp;while&nbsp;editing.&nbsp;&nbsp;I&nbsp;think&nbsp;there&nbsp;will&nbsp;also&nbsp;be&nbsp;some&nbsp;undo&nbsp;capability&nbsp;as&nbsp;well.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;don’t&nbsp;your&nbsp;comments&nbsp;are&nbsp;negative&nbsp;at&nbsp;all.&nbsp;&nbsp;I&nbsp;am&nbsp;not&nbsp;sure&nbsp;what&nbsp;you&nbsp;are&nbsp;suggesting&nbsp;though.&nbsp;&nbsp;We&nbsp;could&nbsp;add&nbsp;a&nbsp;way&nbsp;to&nbsp;turn&nbsp;off&nbsp;panning&nbsp;and&nbsp;I&nbsp;think&nbsp;we&nbsp;have&nbsp;for&nbsp;the&nbsp;Web&nbsp;Edition.&nbsp;&nbsp;To&nbsp;just&nbsp;add&nbsp;some&nbsp;mapping&nbsp;to&nbsp;what&nbsp;the&nbsp;right&nbsp;and&nbsp;left&nbsp;mouse&nbsp;does&nbsp;isn’t&nbsp;so&nbsp;easy&nbsp;as&nbsp;there&nbsp;is&nbsp;allot&nbsp;of&nbsp;context&nbsp;to&nbsp;consider.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;I&nbsp;want&nbsp;to&nbsp;make&nbsp;sure&nbsp;we&nbsp;get&nbsp;this&nbsp;right.&nbsp;&nbsp;If&nbsp;you&nbsp;have&nbsp;more&nbsp;suggests&nbsp;then&nbsp;let&nbsp;me&nbsp;know.&nbsp;&nbsp;The&nbsp;product&nbsp;is&nbsp;in&nbsp;beta&nbsp;so&nbsp;now&nbsp;is&nbsp;the&nbsp;time&nbsp;to&nbsp;get&nbsp;this&nbsp;all&nbsp;off&nbsp;your&nbsp;chest!&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;I&nbsp;will&nbsp;talk&nbsp;with&nbsp;the&nbsp;developers&nbsp;about&nbsp;all&nbsp;of&nbsp;this&nbsp;feedback&nbsp;and&nbsp;report&nbsp;back&nbsp;to&nbsp;you.&nbsp;  
&nbsp;&nbsp;  
&nbsp;David

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [April 12, 2009, 10:55am UTC](https://community.thinkgeo.com/t/graphically-editing-shapes/329/12 "2009-04-12T10:55:01Z")

</div>

Guys,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;What&nbsp;I&nbsp;am&nbsp;going&nbsp;to&nbsp;do&nbsp;is&nbsp;get&nbsp;the&nbsp;API&nbsp;from&nbsp;the&nbsp;developers&nbsp;for&nbsp;the&nbsp;EditOverlay&nbsp;and&nbsp;post&nbsp;it&nbsp;to&nbsp;the&nbsp;Developers&nbsp;Blog&nbsp;forum&nbsp;with&nbsp;a&nbsp;writeup&nbsp;on&nbsp;how&nbsp;it&nbsp;works.&nbsp;&nbsp;In&nbsp;this&nbsp;way&nbsp;you&nbsp;can&nbsp;review&nbsp;it,&nbsp;ask&nbsp;questions&nbsp;and&nbsp;make&nbsp;suggestions.&nbsp;&nbsp;We&nbsp;can&nbsp;see&nbsp;if&nbsp;it&nbsp;can&nbsp;handle&nbsp;all&nbsp;of&nbsp;your&nbsp;requirements&nbsp;and&nbsp;get&nbsp;more&nbsp;from&nbsp;the&nbsp;community.&nbsp;&nbsp;At&nbsp;this&nbsp;point&nbsp;the&nbsp;topic&nbsp;of&nbsp;this&nbsp;message&nbsp;is&nbsp;‘Drawing&nbsp;Stuff’&nbsp;and&nbsp;people&nbsp;might&nbsp;not&nbsp;know&nbsp;we&nbsp;are&nbsp;discussion&nbsp;editing.&nbsp;&nbsp;This&nbsp;seems&nbsp;to&nbsp;be&nbsp;a&nbsp;pretty&nbsp;hot&nbsp;topic&nbsp;and&nbsp;I&nbsp;want&nbsp;to&nbsp;make&nbsp;sure&nbsp;we&nbsp;get&nbsp;allot&nbsp;of&nbsp;input&nbsp;and&nbsp;feedback.&nbsp;  
&nbsp;&nbsp;  
&nbsp;David&nbsp;
