<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">

	<channel>
		<title>ThinkGeo and Map Suite Map Suite MVC Edition Support</title>
		<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/afv/topicsview/Default.aspx</link>
		<description>Discuss issues about the Map Suite MVC Edition .NET GIS control.</description>
		<language>en-US</language>
		<generator>ActiveForums  4.2</generator>
		<copyright>Copyright 2003-2013 ThinkGeo LLC</copyright>
		<lastBuildDate>Fri, 10 May 2013 05:47:27 GMT</lastBuildDate><image><url>http://gis.thinkgeo.com/Portals/1/logo.png</url><title>ThinkGeo and Map Suite Map Suite MVC Edition Support</title><link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/afv/topicsview/Default.aspx</link></image>
		<item>
			<title>Vote for new features on the Enhancement Tracker</title>
			<description>&lt;p&gt;Greetings all!&lt;/p&gt;

&lt;p&gt;As you likely know, the discussion forums have always been a great place for you to suggest new features and enhancements for Map Suite. In fact, they've become such a great resource for new product ideas, we decided to launch the &lt;a target=&quot;_blank&quot; href=&quot;http://helpdesk.thinkgeo.com/EnhancementTracker?product=Map_Suite_MVC_Edition&quot;&gt;&lt;b&gt;ThinkGeo Enhancement Tracker&lt;/b&gt;&lt;/a&gt; to keep track of them all. You can also vote on the upgrades that you'd most like to see, or suggest your own if you don't see the feature you want.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using the Enhancement Tracker, you can see some of the most popular suggestions that our users have offered us to help Map Suite better, along with some plans of our own for improving the product. Here's what you can do:&lt;/p&gt;

&lt;ul type=&quot;square&quot;&gt;
    &lt;li style=&quot;margin-bottom:8px;&quot;&gt;Click the &quot;Vote Up&quot; button next to your favorite enhancement ideas to tell us you want to see those features in Map Suite.&lt;/li&gt;
    &lt;li style=&quot;margin-bottom:8px;&quot;&gt;Click the &quot;Discussion Topic&quot; link to visit the forum thread where discussion is ongoing about that particular feature. Feel free to add your own voice if you wish.&lt;/li&gt;

    &lt;li style=&quot;margin-bottom:8px;&quot;&gt;Use the form on the right side of the page to suggest the feature you want if you don't already see it on the Enhancement Tracker.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We'll take your votes into consideration when designing the roadmap for upcoming Map Suite releases, so don't forget to cast your vote.&lt;/p&gt;

&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://helpdesk.thinkgeo.com/EnhancementTracker?product=Map_Suite_MVC_Edition&quot;&gt;&lt;b&gt;Click here&lt;/b&gt;&lt;/a&gt; to visit the Enhancement Tracker now.&lt;/p&gt;

&lt;p&gt;Thanks for choosing Map Suite,&lt;br /&gt;
The ThinkGeo Team&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10060/afv/topic/Default.aspx</link>
			<dc:creator>ThinkGeo</dc:creator>
			<pubDate>Tue, 14 Feb 2012 05:21:49 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10060/afv/topic/Default.aspx</guid>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>How to Post Source Code and Attachments</title>
			<description>&lt;p style=&quot;font-size: 14px;&quot;&gt;&lt;strong&gt;How to Post Source Code&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you need to paste a snippet of source code into your forum message, please use our special source code tags.  These tags will make sure your code is formatted and colorized so that others can more easily read it.&lt;/p&gt;

&lt;p&gt;To do this, first type your message as usual.  When you're ready to paste in your source code, switch the message editor into &quot;Source&quot; view by clicking the button shown below:&lt;/p&gt;

&lt;p&gt;&lt;img border=&quot;0&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Figure_SourceBtn.png&quot; alt=&quot;Screenshot&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Then, add one of the following sets of tags, depending on the language of the source code you want to paste in:&lt;/p&gt;

&lt;iframe src=&quot;http://gis.thinkgeo.com/portals/1/scripts/source_code_iframe.html&quot; frameborder=&quot;0&quot; width=&quot;600&quot; allowtransparency=&quot;true&quot; name=&quot;sourcetags&quot; scrolling=&quot;no&quot; height=&quot;430&quot;&gt;You must enable inline frames (iframes) in your browser to display this information.&lt;/iframe&gt;

&lt;p&gt;Once you add one of these sets of code tags, paste your source code in between them.&lt;/p&gt;

&lt;p&gt;Please note that your source code will not appear to be formatted correctly when you preview your post. Your code will be stylized and formatted only when you submit your post.&lt;/p&gt;

&lt;p&gt;If you need to make edits to your post after submission, select your post and copy it to the clipboard before clicking the &amp;quot;Edit&amp;quot; button.   This will preserve your post in case the visual editor strips out any of your source code.&lt;/p&gt;

&lt;p&gt;Here is an example of what your formatted source code snippet will look like:&lt;/p&gt;

&lt;code lang=&quot;csharp&quot;&gt;protected void Button1_Click(object sender, EventArgs e)
    {
        if (!Map1.CustomOverlays.Contains(&quot;Markers&quot;))
        {
            // Add a new feature as a marker
            Map1.MarkerOverlay.Features.Add(&quot;Marker&quot;, new Feature(0, 52));

            // Set the marker style, and make it available all over the zoomlevels.
            Map1.MarkerOverlay.ZoomLevelSet.ZoomLevel01.DefaultMarkerStyle.WebImage = new WebImage(&quot;../../theme/default/img/marker_blue.gif&quot;, 21, 25);
            Map1.MarkerOverlay.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
        }
    }&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10059/afv/topic/Default.aspx</link>
			<dc:creator>ThinkGeo</dc:creator>
			<pubDate>Tue, 14 Feb 2012 05:18:47 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10059/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>Posting Rules &amp; Guidelines</title>
			<description>&lt;h3&gt;Welcome to the ThinkGeo Developer Community!&lt;/h3&gt;

&lt;p&gt;The ThinkGeo Developer Community is your hub for support, ideas and tips for developing with Map Suite.  We have just a few simple rules that you must adhere to when posting, as well as some guidelines for making your contributions the most helpful for others.&lt;/p&gt;

&lt;ul&gt;
	&lt;li style=&quot;padding-bottom:10px;&quot;&gt;Your first post in the discussion forums will be held for moderator approval.  Once your message has been approved, you will be able to make future posts without moderation.&lt;/li&gt;
	&lt;li style=&quot;padding-bottom:10px;&quot;&gt;If you need help with or want to discuss a particular Map Suite product, please post in the Support Forum for that product.  &lt;a href=&quot;http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afg/1/Default.aspx&quot;&gt;Map Suite 2.0 and older&lt;/a&gt; and &lt;a href=&quot;http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/afg/3/Default.aspx&quot;&gt;Map Suite 3.0 and newer&lt;/a&gt; products have their own set of support forums.  Make sure you're posting in the right one!&lt;/li&gt;
	&lt;li style=&quot;padding-bottom:10px;&quot;&gt;If you want to ask a specific question, you can flag your topic to make it easier for others see that you need help. For information on how to flag your topic as a question, see the instructions &lt;a href=&quot;#flagging&quot;&gt;below&lt;/a&gt;.&lt;/li&gt;
	&lt;li style=&quot;padding-bottom:10px;&quot;&gt;If you're looking for documentation and other reference information on how to use Map Suite, please browse our online &lt;a href=&quot;http://gis.thinkgeo.com/supportcenter/&quot;&gt;Support Center&lt;/a&gt;.&lt;/li&gt;
	&lt;li style=&quot;padding-bottom:10px;&quot;&gt;Absolutely no flaming or personal attacks will be tolerated.&lt;/li&gt;
	&lt;li&gt;Above all, enjoy sharing your ideas, learning from others, and working with Map Suite. We're glad you're with us!&lt;/li&gt;
&lt;/ul&gt;


&lt;a name=&quot;flagging&quot;&gt;&lt;/a&gt;
&lt;h3 style=&quot;margin-top:30px;&quot;&gt;Flagging Your Topic as a Question&lt;/h3&gt;

&lt;p&gt;You can flag your new topic as a question to make it easier for others to see that you need help. This will also let you mark a specific answer as the &amp;quot;Correct Answer&amp;quot; so that others can see what you did to solve your problem.&lt;/p&gt;
&lt;p&gt;To mark your topic as a question, select &amp;quot;Not Resolved&amp;quot; from the Topic Status drop-down:&lt;/p&gt;
&lt;p&gt;&lt;img border=&quot;0&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Figure_NotResolved.png&quot; alt=&quot;Screenshot&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Then, type your post subject, message and click Submit when you're finished.  You'll notice that a question mark icon appears next to your topic on the forum list.&lt;/p&gt;
&lt;p&gt;When you receive a response that answers your question, you can mark that response as the correct answer by clicking the &amp;quot;Correct Answer&amp;quot; button above that post:&lt;/p&gt;
&lt;p&gt;&lt;img border=&quot;0&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Figure_CorrectAnswer.png&quot; alt=&quot;Screenshot&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Afterwards, the question mark icon next to your topic will change to a green checkmark, indicating that your issue has been resolved.&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10058/afv/topic/Default.aspx</link>
			<dc:creator>ThinkGeo</dc:creator>
			<pubDate>Tue, 14 Feb 2012 05:18:09 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10058/afv/topic/Default.aspx</guid>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Question about Drag Marker features.</title>
			<description>&lt;p&gt;&amp;#160;Hi,&lt;/p&gt;
&lt;p&gt;I try to use the drag marker feature but so far no luck &amp;#160;with the event that we should expect when the marker is dragged then released. &amp;#160;From a broader point of view could you explain how the events chain works? &amp;#160;For instance&lt;/p&gt;
&lt;p&gt;on the view side:&lt;/p&gt;
&lt;p&gt;
&lt;pre style=&quot;font-family: Consolas; font-size: 13px; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
.OnClientClick(&lt;span style=&quot;color:#a31515;&quot;&gt;&quot;_OnClientClick&quot;&lt;/span&gt;)
.OnClientDrawEnd(&lt;span style=&quot;color:#a31515;&quot;&gt;&quot;_OnClientDrawEnd&quot;&lt;/span&gt;)
.OnClientBaseOverlayChanged(&lt;span style=&quot;color:#a31515;&quot;&gt;&quot;_OnClientBaseOverlayChanged&quot;&lt;/span&gt;)
.OnClientExtentChanged(&lt;span style=&quot;color:#a31515;&quot;&gt;&quot;_OnClientExtentChanged&quot;&lt;/span&gt;)
.OnClientTrackShapeFinished(&lt;span style=&quot;color:#a31515;&quot;&gt;&quot;_OnClientTrackShapeFinished&quot;&lt;/span&gt;)
.Render();
&lt;br /&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas; font-size: 13px; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
now if we have &quot;OnClientClick&quot; for the &quot;SimpleMarkerOverlay&quot; what is the effect of 
having &quot;OnClientClick&quot; at the map level?

&lt;pre style=&quot;font-family: Consolas;&quot;&gt;
now if we have &quot;OnClientClick&quot;&amp;#160;for the &quot;SimpleMarkerOverlay&quot; and &quot;markerOverlay.OnClientMarkerDragged&amp;#160;=&amp;#160;&lt;span style=&quot;color: rgb(163, 21, 21);&quot;&gt;&quot;_ClientOnClientMarkerDragged&quot;&lt;/span&gt;;&quot;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas;&quot;&gt;
for the &quot;SimpleMarkerOverlay&quot; how this will work?&lt;/pre&gt;
last but no least,  it looks like that when a marker has been created and display on the map then the click on marker need two clicks???
the marker drag event as I state before does not work as well.
thanks.
jm.
&lt;br type=&quot;_moz&quot; /&gt;
&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas; font-size: 13px; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;br /&gt;&lt;br type=&quot;_moz&quot; /&gt;&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;here is the code in the controller.&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
 SimpleMarkerOverlay markerOverlay = map.CustomOverlays&amp;#91;&quot;SimpleMarkerOverlay&quot;&amp;#93; as SimpleMarkerOverlay;                 markerOverlay.DragMode = MarkerDragMode.Drag;                 markerOverlay.OnClientMarkerDragged = &quot;_ClientOnClientMarkerDragged&quot;;                 markerOverlay.Markers.Clear();                 markerOverlay.Markers.Add(NewMarkerProperties(_locationPointShape));
&lt;/code&gt;
&lt;p&gt;&lt;c&gt;   &lt;/c&gt;&lt;/p&gt;
&lt;p&gt;here is the code in the view:&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas; font-size: 13px; background-position: initial initial; background-repeat: initial initial;&quot;&gt;
&amp;#160;&lt;/pre&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
 overlays
     .SimpleMarkerOverlay(&quot;SimpleMarkerOverlay&quot;)
     .Id(&quot;SimpleMarkerOverlay&quot;)
     .Name(&quot;SimpleMarkerOverlay&quot;)
     .IsVisible(true)
     .IsVisibleInOverlaySwitcher(false)
     .IsBaseOverlay(false)
         .DragMode(MarkerDragMode.Drag)
         .OnClientClick(&quot;_OnClientClickOnMarker&quot;);

&lt;/code&gt;
&lt;p&gt;here is the code in the script:&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;

function _ClientOnClientMarkerDragged(location) {
    ClientMarkerDragged(location);
}
&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11224/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 03:28:50 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11224/afv/topic/Default.aspx</guid>
			<slash:comments>2</slash:comments>
		</item>
		<item>
			<title>?</title>
			<description>&lt;p&gt;&amp;#160;I would like to know if it could be possible to control the &quot;&lt;span style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;Map1.ajaxCall&lt;/span&gt;&quot; &amp;#160;be synchronous or asynchrounous?&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11225/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 03:57:33 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11225/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>ZoomLevelSet ?</title>
			<description>&lt;p&gt;&amp;#160;Hi,&lt;/p&gt;
&lt;p&gt;Looks like that with a zoomLevelSet at 12 the style start being visible when the zoom reach 11?&lt;/p&gt;
&lt;p&gt;jm.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
  InMemoryFeatureLayer TEXTLayer = new InMemoryFeatureLayer();
    TEXTLayer.Open();
    TEXTLayer.Columns.Add(new FeatureSourceColumn(&quot;DirectoryLink&quot;, &quot;STRING&quot;, 64));
    TEXTLayer.Close();
    TEXTLayer.ZoomLevelSet.ZoomLevel12.DefaultPointStyle = PointStyles.CreateSimpleTriangleStyle(GeoColor.StandardColors.YellowGreen, 10);
    TEXTLayer.ZoomLevelSet.ZoomLevel12.DefaultTextStyle = TextStyles.CreateSimpleTextStyle(&quot;DirectoryLink&quot;, &quot;Arial&quot;, 10, DrawingFontStyles.Bold, GeoColor.StandardColors.Blue, 12, 0);
    TEXTLayer.ZoomLevelSet.ZoomLevel12.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
    TEXTLayer.DrawingMarginPercentage = 25;
    TEXTLayer.DrawingQuality = DrawingQuality.HighQuality;
&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11229/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 05:47:27 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11229/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>popups?</title>
			<description>&lt;p&gt;&amp;#160;Hi could you provide a sample about creating popups inside the MVC contoller and then how to display the popups when returning from an&amp;#160;&lt;span style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;ajaxCallAction?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11226/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 04:00:17 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11226/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>?</title>
			<description>&lt;p&gt;&amp;#160;Hi,&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Could you provide some information on how to build beautiful popups ?&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;thanks?&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11227/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 04:07:29 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11227/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>Maybe a bug???</title>
			<description>&lt;p&gt;&lt;tt&gt;&amp;#160;Hi,&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;I have a function that I call to return the bouding box of an&lt;/tt&gt;&amp;#160;&lt;span style=&quot;color: rgb(43, 145, 175); font-family: Consolas; font-size: 13px;&quot;&gt;InMemoryFeatureLayer features(all), &lt;/span&gt;&lt;tt&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: 13px;&quot;&gt;the wellkonwn text is then returned to the client. &amp;#160;The client issue the command Map1.zoomToExtent.... but the map does not zoom in the way that I expect, not all data points inside the current visible bounding box???&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(43, 145, 175); font-family: Consolas; font-size: 13px;&quot;&gt;&amp;#160;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
  &amp;#91;MapActionFilter&amp;#93;
        public JsonResult ClientZoomToMarkers(Map map, GeoCollection&lt;object&gt; args)
        {
            JsonResult _JsonResult = null;
            Feature LocationFeature = new Feature();

            _redrawLayers.Clear();

            if (map != null)
            {
                LayerOverlay EXISTINGLOCATIONOverlay = (LayerOverlay)map.CustomOverlays&amp;#91;&quot;EXISTINGLOCATIONOverlay&quot;&amp;#93;;
                InMemoryFeatureLayer EXISTINGLOCATIONLayer = (InMemoryFeatureLayer)EXISTINGLOCATIONOverlay.Layers&amp;#91;&quot;EXISTINGLOCATIONLayer&quot;&amp;#93;;
                EXISTINGLOCATIONLayer.Open();
                string _bb = EXISTINGLOCATIONLayer.FeatureSource.GetBoundingBox().GetWellKnownText();
                EXISTINGLOCATIONLayer.Close();

                _JsonResult = Json(_DtoDomain.EnveloppeDto(_bb, _redrawLayers, new ErrorPayload { code = 0, message = &quot;SUCCESS&quot;, status = &quot;SUCCESS&quot; }), JsonRequestBehavior.AllowGet);
            }
            else
            {
                _JsonResult = Json(_DtoDomain.EnveloppeDto(null, null, &quot;ERROR&quot;), null, null, JsonRequestBehavior.AllowGet);
            }
            return (_JsonResult);
        }

&lt;/code&gt;   &lt;code lang=&quot;script&quot;&gt;
function ClientZoomToMarkers() {
    Map1.ajaxCallAction(_controllerId, 'ClientZoomToMarkers', {}, function (result) {
        var _Dto = jQuery.parseJSON(result.get_responseData());
        if (_Dto.status.status == &quot;SUCCESS&quot;) {
            var format = new OpenLayers.Format.WKT();
            var feature = format.read(_Dto.payLoad).geometry;
            Map1.zoomToExtent(feature.getBounds(),true);
        }
        else {
            window.location.href = rootURL;
        }
    }
   );
}
&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11228/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Fri, 10 May 2013 05:35:59 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11228/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>Possible bugs</title>
			<description>&lt;p&gt;&amp;#160;Hi&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;I am finding that something is occuring behind the scene...... &amp;#160;could be linked with drag marker event? &amp;#160; the error counters does not stop at all. &amp;#160;I mean that it is a recursive &amp;#160;issue.&lt;/p&gt;
&lt;p&gt;2 screen copy of the applicationd javascript chrome console.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/bugA.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/bugB.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;jm.&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11202/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Wed, 01 May 2013 02:51:30 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11202/afv/topic/Default.aspx</guid>
			<slash:comments>6</slash:comments>
		</item>
		<item>
			<title>Building map in the controller</title>
			<description>&lt;p&gt;Good morning,&lt;/p&gt;
&lt;p&gt;I'm working on making mods to some of the &quot;Getting Started&quot; guide samples to learn stuff.&amp;#160; While I&amp;#160;may be wrong, I think with the complicated map we will be using the proper place to build the map is in the controller.&amp;#160; I have been able to do that, but I simply can't get anything else to work.&amp;#160; For example, I&amp;#160;made a modification to a map with two layers to toggle a roads&amp;#160;layer on and off in response to clicking&amp;#160;a button.&amp;#160; When I debug the controller method I toggle the layer's IsVisible status and I&amp;#160;can see that change, but it doesn't do anything to the map: both of my layers are still visible.&amp;#160; I&amp;#160;tried changing MapBackground and I can't get that to work either.&amp;#160; This is an example of what I'm trying to do:&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;code lang=&quot;csharp&quot;&gt;
        &amp;#91;MapActionFilter&amp;#93;
        public ActionResult ToggleRoads(Map map, GeoCollection&lt;object&gt; args)
        {
            LayerOverlay bg = (LayerOverlay)map.BackgroundOverlay;
            foreach (Layer layer in bg.Layers)
            {
                if (layer.Name == &quot;roads&quot;)
                {
                    layer.IsVisible = !layer.IsVisible;
                }
            }
            return View(map);
        }
&lt;/code&gt;Since all of the examples are written the other way around (coding the map in the view) I don't have much to go on. Any ideas of what I'm doing wrong?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11177/afv/topic/Default.aspx</link>
			<dc:creator>Allen</dc:creator>
			<pubDate>Thu, 18 Apr 2013 02:43:18 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11177/afv/topic/Default.aspx</guid>
			<slash:comments>7</slash:comments>
		</item>
		<item>
			<title>How to disable MVC Edition ZoomLevelSnapping</title>
			<description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Desktop edition allows to set &amp;#160;ZoomLevelSnapping to None.&lt;/p&gt;
&lt;p&gt;How I can set Mvc edition zoom level snapping to None?&lt;/p&gt;
&lt;p&gt;Any workaround?&lt;/p&gt;
&lt;p&gt;When user zooms the area of interest on the map, that area can not zoom to the selection specified, next zoom level will display&lt;/p&gt;
&lt;p&gt;that area too close.&lt;/p&gt;
&lt;p&gt;&amp;#160;Before selection:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Area_of_Interest_before_selection.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Selecting area of interest:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Area_of_Interest_selecting.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Area of interest after selection does not zoom to the selection:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Area_of_Interest_after_selection.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Area of interest at next zoom level, zooms in too far:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/Area_of_Interest_next_zoom_level.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11194/afv/topic/Default.aspx</link>
			<dc:creator>Sergei</dc:creator>
			<pubDate>Fri, 26 Apr 2013 07:12:04 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11194/afv/topic/Default.aspx</guid>
			<slash:comments>5</slash:comments>
		</item>
		<item>
			<title>phone gap, html5 and jquery</title>
			<description>&lt;p&gt;Hi, we are still investigating the mvc map suite tool and so far it looks very good. I have followed this link &lt;a href=&quot;http://wiki.thinkgeo.com/wiki/Map_Suite_Mobile_Quick_Start_Guide&quot;&gt;http://wiki.thinkgeo.com/wiki/Map_S...tart_Guide&lt;/a&gt;&amp;#160;and did build a very nice mobile app.&lt;/p&gt;
&lt;p&gt;However, we do have one problem with building mobile sites. The mobile&amp;#160;app we are looking to develop&amp;#160;will be used in areas where there is no internet connection. We need to build a GIS app&amp;#160;that can be deployed on a mobile device that act as a native application.&lt;/p&gt;
&lt;p&gt;I have done some research and came across a framework called PhoneGap. This framework enable you to build an application in HTML5 and jquery, then wrapped it with PhoneGap and deploy it to any various platforms like android and iphone.&lt;/p&gt;
&lt;p&gt;Have anyone had a look at phonegap together with the Map suite mvc edition? Will it be possible to build such an app with PhoneGap and the Map suite mvc edition?&lt;/p&gt;
&lt;p&gt;Here is a link to &lt;a href=&quot;http://www.phonegap.com&quot;&gt;PhoneGap&lt;/a&gt;.&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11130/afv/topic/Default.aspx</link>
			<dc:creator>Hannes</dc:creator>
			<pubDate>Sun, 24 Mar 2013 03:33:24 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11130/afv/topic/Default.aspx</guid>
			<slash:comments>7</slash:comments>
		</item>
		<item>
			<title>Map is sometimes &quot;null&quot; in controller action method</title>
			<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using the following code to request data from the server:&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;
map.ajaxCallAction('Action', 'ActionMethod', null, function (ajaxResponse) {
...
});
&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;The action method signature is like this:&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;
&amp;#91;MapActionFilter&amp;#93;
&amp;#91;OutputCache(Duration = 0, VaryByParam = &quot;None&quot;)&amp;#93;
public JsonResult ActionMethod(ThinkGeo.MapSuite.MvcEdition.Map map, GeoCollection&lt;object&gt; args) {
...
}
&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;Most of the time this works fine, but sometimes &quot;map&quot; is null. Do you have any idea why this can happen?&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11009/afv/topic/Default.aspx</link>
			<dc:creator>Sindre</dc:creator>
			<pubDate>Wed, 30 Jan 2013 20:19:20 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11009/afv/topic/Default.aspx</guid>
			<slash:comments>22</slash:comments>
		</item>
		<item>
			<title>Issue with TileCacheGenerator while displaying raster data</title>
			<description>&lt;p&gt;&lt;img border=&quot;0&quot; alt=&quot;&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/TGeoMvcApp.png&quot; /&gt;&lt;img border=&quot;0&quot; alt=&quot;&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/TileCacheGeneratorApp.png&quot; /&gt;&lt;img border=&quot;0&quot; alt=&quot;&quot; src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/TGeoMvcApp2RasterLayers.png&quot; /&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to create a sample application which can use tile cached images for raster data.&amp;#160; I used tilecachegenerator from the wiki and modified it for the raster layer.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
  GeoTiffRasterLayer rasterLayer2 = new GeoTiffRasterLayer(@&quot;S:\IMAGERY\ISC\48 18 W3\48_18_3_RGB.tif&quot;);            
 layersToCache.Add(rasterLayer2);
&lt;/code&gt;
&lt;p&gt;I am using the raster layer extent to fix the extent of cache&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;
 InitializeComponent();
            Collection&lt;Layer&gt; layerToCache=LayerProvider.GetLayersToCache();
            RectangleShape rectBoundingBoxComplete = null;
            RectangleShape rectBoundingBoxLayer;
            foreach (Layer layer in layerToCache)
            {
                if(!layer.IsOpen)
                    layer.Open();
                if (layer.HasBoundingBox)
                {
                    rectBoundingBoxLayer = layer.GetBoundingBox();
                    if (rectBoundingBoxComplete == null)
                    {
                        rectBoundingBoxComplete = rectBoundingBoxLayer;
                    }

                    else
                    {
                        rectBoundingBoxComplete.ExpandToInclude(rectBoundingBoxLayer);
                    }
                }
                layer.Close();

            }
            if (rectBoundingBoxComplete != null)
            {
                txtUpperLeftX.Text = rectBoundingBoxComplete.UpperLeftPoint.X + &quot;,&quot; + rectBoundingBoxComplete.UpperLeftPoint.Y;
                txtLowerRightX.Text = rectBoundingBoxComplete.LowerRightPoint.X + &quot;,&quot; + rectBoundingBoxComplete.LowerRightPoint.Y;
            }
&lt;/code&gt;
&lt;p&gt;But when I try to display this raster in my mvc application, I am seeing some extra duplicate tiles at different location (please see attachment). I have tried to generate tiles several times but the result is same. The projection of raster is utm 13 N, NAD 83 and I am using mapunits as meter in tilecache generator code. I am not sure what is going wrong here. Here is my mvc code: &lt;code lang=&quot;csharp&quot;&gt;
@{
    ViewBag.Title = &quot;Index&quot;;
}
@using System.Collections.ObjectModel
@using ThinkGeo.MapSuite.MvcEdition
@using ThinkGeo.MapSuite.Core
&lt;div&gt;
    @{
        Collection&lt;Layer&gt; layerList=new Collection&lt;Layer&gt;();
        GeoTiffRasterLayer rasterLayer1 = new GeoTiffRasterLayer(@&quot;S:\IMAGERY\ISC\48 19 W3\48_19_3_RGB.tif&quot;);
        GeoTiffRasterLayer rasterLayer2 = new GeoTiffRasterLayer(@&quot;S:\IMAGERY\ISC\48 18 W3\48_18_3_RGB.tif&quot;);

        rasterLayer1.UpperThreshold = double.MaxValue;
        rasterLayer1.LowerThreshold = 0;

        rasterLayer2.UpperThreshold = double.MaxValue;
        rasterLayer2.LowerThreshold = 0;
        
        
        //Proj4Projection proj4 = new Proj4Projection();
        //proj4.InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326);
        //proj4.ExternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();
        //rasterLayer1.ImageSource. = proj4; 
        
        //LayerOverlay RasterOverLay=new LayerOverlay();
        //RasterOverLay.Layers.Add(rasterLayer1);
        //RasterOverLay.Layers.Add(rasterLayer2);
        
       // layerList.Add(rasterLayer1);
       layerList.Add(rasterLayer2);
       
            RectangleShape rectBoundingBoxComplete = null;
            RectangleShape rectBoundingBoxLayer;
        foreach (Layer layer in layerList)
        {
            if (!layer.IsOpen)
            {
                layer.Open();
            }
            if (layer.HasBoundingBox)
            {
                rectBoundingBoxLayer = layer.GetBoundingBox();
                if (rectBoundingBoxComplete == null)
                {
                    rectBoundingBoxComplete = rectBoundingBoxLayer;
                }

                else
                {
                    rectBoundingBoxComplete.ExpandToInclude(rectBoundingBoxLayer);
                }
            }
            layer.Close();
        }
        ;
        Html.ThinkGeo().Map(&quot;Map1&quot;, 1029, 1024)
        .MapBackground(new BackgroundLayer(new GeoSolidBrush(GeoColor.FromHtml(&quot;#E5E3DF&quot;))))
        .CurrentExtent(rectBoundingBoxComplete.UpperLeftPoint.X, rectBoundingBoxComplete.UpperLeftPoint.Y, rectBoundingBoxComplete.LowerRightPoint.X, rectBoundingBoxComplete.LowerRightPoint.Y)
        .MapUnit(GeographyUnit.Meter)
        //.MapTools(tools =&gt;
        //{
        //    tools.LoadingImageMapTool().Enabled(true);
        //})  
        //.CustomOverlays(overlay =&gt;
        //                    {
        //                        overlay.GoogleOverlay();
        //                        overlay.LayerOverlay(&quot;RasterOverLay&quot;, true, TileType.MultipleTile).Layer (rasterLayer1);
        //                        //overlay.LayerOverlay(&quot;RasterOverLay&quot;, true, TileType.MultipleTile).Layer(rasterLayer2);
        //                    }
        //    )
            .StaticOverlay(overlay =&gt;
                               {
                                   //overlay.Layer(rasterLayer1);
                                   overlay.Layer(rasterLayer2);
                                   //TileType tType=new TileType();
                                   //tType. = TileType.MultipleTile;
                                   overlay.TileType(TileType.MultipleTile);
                                   overlay.TileHeight(256);
                                   overlay.TileWidth(256);
                                   //overlay.Layer(rasterLayer2);
                                   ServerCache sCache=new ServerCache (@&quot;C:\Users\Chacko\Desktop\ServicesEditionSample_CacheGenerator_CS_120619\ServicesEditionSample_CacheGenerator_CS_120619\CacheFolder\RasterLayer2&quot;);
                                   overlay.ServerCache(sCache);
                                   //TimeSpan duration=new TimeSpan(8,0,0);
                                   //ClientCache cCache=new ClientCache(duration,&quot;rasterLayerClient&quot;);
                                   //overlay.ClientCache(cCache);

                               }
        )
        .Render();
    }
&lt;/div&gt;

&lt;h2&gt;Index&lt;/h2&gt;

&lt;/code&gt;&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11156/afv/topic/Default.aspx</link>
			<dc:creator>Maya</dc:creator>
			<pubDate>Sun, 07 Apr 2013 16:49:15 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11156/afv/topic/Default.aspx</guid>
			<slash:comments>8</slash:comments>
		</item>
		<item>
			<title>Error attempting to use code from &quot;Quick Start Guide&quot;</title>
			<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am working through the &quot;Quick Start Guide&quot; and have ended up with this code:&lt;/p&gt;
&lt;p&gt;(EDIT:&amp;#160;It didn't come over so well, so see below...)&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;When I run this I&amp;#160;get an &quot;ArrayTypeMismatchException&quot;: Attempted to access an element as a type incompatible with the array.&amp;#160; I&amp;#160;also copied similar code for OpenStreetMap from the samples and get the exact same error. &amp;#160;Any idea what's wrong?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Allen&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11148/afv/topic/Default.aspx</link>
			<dc:creator>Allen</dc:creator>
			<pubDate>Tue, 02 Apr 2013 03:08:03 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11148/afv/topic/Default.aspx</guid>
			<slash:comments>24</slash:comments>
		</item>
		<item>
			<title>Projection Issue with GetBitmap method</title>
			<description>&lt;p&gt;&amp;#160;I am having issues trying to capture and save the map image using the GetBitmap method.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;The image which is displayed in the browser has the correct projection, however when I use the GetBitmap method and save the image out to a file, the projection of the image is not correct.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;I have the full lic version of ThinkGeo MVC edition, the water marks in the image are due to me using my developer computer and iis express 8.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;I downloaded the latest dll’s from our customer portal. The versions are as follows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;MapSuiteCore.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 6.0.0.198&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;MvcEdition.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 6.0.0.198&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Image from the browser which is using correct projection&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/WebDisplay.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Saved image from GetBitmap using incorrect projection&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/GetBitMapResult.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;This is the gist of the code I am using&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;#160;&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;code lang=&quot;csharp&quot;&gt;

public imageOutput SaveImageCommand( imageInput input )
        {
            Map map = GetMapFromRequest( input.MapSessionId );
            var MyBitmap = map.GetBitmap( );
            MyBitmap.Save( @&quot;d:\testmapImage2.png&quot;, ImageFormat.Png );
            return new imageOutput( );

        }


public void CreateMap(){  
  Map map = new Map( MapName, new Unit( 100, UnitType.Percentage ), new Unit( 100, UnitType.Percentage ) );
     map.MapBackground.BackgroundBrush = (new GeoSolidBrush( GeoColor.SimpleColors.Transparent ));
            map.MapUnit = GeographyUnit.Meter;
			
			 LayerOverlay featuresOverlay = new LayerOverlay( &quot;features&quot; );
          
            featuresOverlay.IsVisible = true;
          
            featuresOverlay.IsBaseOverlay = false;
            featuresOverlay.ServerCache.CacheDirectory = _settings.TileCachePath;
            featuresOverlay.ServerCache.CacheId = Guid.NewGuid( ).ToString( );
            featuresOverlay.Name = &quot;features&quot;;
            featuresOverlay.WebImageFormat = WebImageFormat.Png;

            featuresOverlay.ClientCache.CacheId = &quot;clientCacheID&quot;;

            featuresOverlay.ClientCache.Duration = new TimeSpan( 0, 10, 0 );
			
			  featureOverlay.Layers.Add( ProcessFeatureShapes(input.ShapeData, projSphericalMercator) );
			
			     map.CustomOverlays.Add( featuresOverlay );
				   map.CurrentExtent = GetFullExtent( featureOverlay.Layers );
				 }
				 
				 
				 
 private RectangleShape GetFullExtent( GeoCollection&lt;Layer&gt; Layers )
        {
            List&lt;BaseShape&gt; rectangleShapes = new List&lt;BaseShape&gt;( );

            foreach ( Layer layer in Layers )
            {
                layer.Open( );

                if ( layer.HasBoundingBox == true )
                    rectangleShapes.Add( layer.GetBoundingBox( ) );
            }

            return ExtentHelper.GetBoundingBoxOfItems( rectangleShapes );
        }				 
				 
private InMemoryFeatureLayer ProcessFeatureShapes( HashSet&lt;ShapeData&gt; shapeDataCollection, Proj4Projection projSphericalMercator )
        {
            InMemoryFeatureLayer layer = new InMemoryFeatureLayer( );

            layer.Open( );
            layer.Columns.Add( new FeatureSourceColumn( &quot;name&quot;, DbfColumnType.String.ToString( ), 100 ) );
            layer.Columns.Add( new FeatureSourceColumn( &quot;data&quot;, DbfColumnType.Double.ToString( ), 40 ) );

            
            layer.EditTools.BeginTransaction( );
            

            foreach ( var shapeData in shapeDataCollection )
            {

                var data = _shapeFileProvider.GetShapeFileBinaryData( shapeData.Geography.GeographyType, shapeData.ShapeFileName ); //get the well known binary data

                Feature feature = new Feature( data );

                feature.ColumnValues.Add( &quot;name&quot;, shapeData.Name );

                feature.ColumnValues.Add( &quot;data&quot;, shapeData.DataValue.ToString( ) );

                feature.GetBoundingBox( ); //force the calculation.

                layer.EditTools.Add( feature );


            }
            
            layer.EditTools.CommitTransaction( );

            layer.BuildIndex( );

            layer.FeatureSource.Projection = projSphericalMercator;

            layer.Close( );

            return layer;
        }
&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10859/afv/topic/Default.aspx</link>
			<dc:creator>Rick</dc:creator>
			<pubDate>Wed, 28 Nov 2012 12:07:03 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10859/afv/topic/Default.aspx</guid>
			<slash:comments>13</slash:comments>
		</item>
		<item>
			<title>How to retain added vertices in polygon draw mode?</title>
			<description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Is it possible to retain a vertex when drawing a polygon?&lt;/p&gt;
&lt;p&gt;This is current behaviour of the draw mode:&lt;/p&gt;
&lt;p&gt;:&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/draw-poly.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;This is desired behaviour of the draw mode - vertices are still retained (displayed):&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://gis.thinkgeo.com/Portals/1/activeforums_Attach/draw-poly-retain-vertex.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;This is the style I'm using:&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;code&gt;
        var OnMapCreating = function (map) {
          OpenLayers.Feature.Vector.style = {
            'default': {
              fillColor: &quot;yellow&quot;,
              fillOpacity: 0.4,
              hoverFillColor: &quot;white&quot;,
              hoverFillOpacity: 0.8,
              strokeColor: &quot;blue&quot;,
              strokeOpacity: 1,
              strokeWidth: 1,
              strokeLinecap: &quot;round&quot;,
              strokeDashstyle: &quot;solid&quot;,
              hoverStrokeColor: &quot;red&quot;,
              hoverStrokeOpacity: 1,
              hoverStrokeWidth: 0.2,
              pointRadius: 20,
              hoverPointRadius: 10,
              hoverPointUnit: &quot;%&quot;,
              pointerEvents: &quot;visiblePainted&quot;,
              cursor: &quot;inherit&quot;
            },
            'select': {
              fillColor: &quot;yellow&quot;,
              fillOpacity: 0.4,
              hoverFillColor: &quot;white&quot;,
              hoverFillOpacity: 0.8,
              strokeColor: &quot;blue&quot;,
              strokeOpacity: 1,
              strokeWidth: 1,
              strokeLinecap: &quot;round&quot;,
              strokeDashstyle: &quot;solid&quot;,
              hoverStrokeColor: &quot;red&quot;,
              hoverStrokeOpacity: 1,
              hoverStrokeWidth: 0.2,
              pointRadius: 20,
              hoverPointRadius: 10,
              hoverPointUnit: &quot;%&quot;,
              pointerEvents: &quot;visiblePainted&quot;,
              cursor: &quot;pointer&quot;
            }
          };
        }
&lt;/code&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11169/afv/topic/Default.aspx</link>
			<dc:creator>Sergei</dc:creator>
			<pubDate>Tue, 16 Apr 2013 03:21:57 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11169/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>How to track vertex in draw mode?</title>
			<description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'm looking for event which fires when a vertex is clicked.&lt;/p&gt;
&lt;p&gt;For example when I draw a polygon and click on the map then vertex is added, then I click few times and vertices added.&lt;/p&gt;
&lt;p&gt;Each time when vertex is added, I need to know the total count.&lt;/p&gt;
&lt;p&gt;Which event can provide this informaion?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11168/afv/topic/Default.aspx</link>
			<dc:creator>Sergei</dc:creator>
			<pubDate>Tue, 16 Apr 2013 02:39:14 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/11168/afv/topic/Default.aspx</guid>
			<slash:comments>1</slash:comments>
		</item>
		<item>
			<title>ERROR with OgrFeatureLayer (URGENT)</title>
			<description>&lt;p&gt;&amp;#160;Hi,&lt;/p&gt;
&lt;p&gt;I get thsi error when I want to use the FDO I have reference the DLL inside my project and I have put the dll inside system32, WOW,...&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;I am concern with the name that is&amp;#160;&amp;#160;MapSuiteFdoExtension.dll when the dll name is FdoExtension.dll...?&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;{&quot;Could not find MapSuiteFdoExtension.dll assembly.&quot;:null}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;jm&lt;/p&gt;</description>
			<link>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10921/afv/topic/Default.aspx</link>
			<dc:creator>Jean-marie</dc:creator>
			<pubDate>Wed, 19 Dec 2012 04:04:12 GMT</pubDate>
			<guid>http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/45/aft/10921/afv/topic/Default.aspx</guid>
			<slash:comments>23</slash:comments>
		</item><atom:link href="http://gis.thinkgeo.com/DesktopModules/ActiveForums/feeds.aspx?portalid=1&amp;forumid=45&amp;tabid=143&amp;moduleid=623" rel="self" type="application/rss+xml" />
	</channel></rss>