# MVC

**URL:** https://community.thinkgeo.com/c/thinkgeo-ui-for-web/thinkgeo-ui-for-web-mvc/9.md?page=1

[Latest](https://community.thinkgeo.com/latest.md) · [Categories](https://community.thinkgeo.com/categories.md)

**Page:** 2

---

## [Difficulty upgrading from MapSuite 9 to 10](https://community.thinkgeo.com/t/difficulty-upgrading-from-mapsuite-9-to-10/8632)

<div class="topic-metadata">

**Author:** [@MyAgDevTeam](https://community.thinkgeo.com/u/MyAgDevTeam)\
**Replies:** 3\
**Last updated:** [August 15, 2017, 2:48am UTC](https://community.thinkgeo.com/t/difficulty-upgrading-from-mapsuite-9-to-10/8632 "2017-08-15T02:48:11Z")

</div>

I have followed the Map Suite version 10 upgrade guide and I am running into an error on a call to ThinkGeo.MapSuite.Shapes.SqlTypesGeometryHelper.MakeValid(baseShape) Error: "Looks up a localized string similar to To …

---

## [WorldStreetsAndImageryOverlay Tile Borders](https://community.thinkgeo.com/t/worldstreetsandimageryoverlay-tile-borders/8624)

<div class="topic-metadata">

**Author:** [@Julian\_Houlding](https://community.thinkgeo.com/u/Julian_Houlding)\
**Replies:** 4\
**Last updated:** [August 11, 2017, 1:43am UTC](https://community.thinkgeo.com/t/worldstreetsandimageryoverlay-tile-borders/8624 "2017-08-11T01:43:31Z")

</div>

Hello ThinkGeo Support, We are using a WorldStreetsAndImageryOverlay as our base overlay with several InMemoryMarkerOverlays. All settings for the WorldStreetsAndImageryOverlay are default. The problem we are experien…

---

## [Marker's image click event](https://community.thinkgeo.com/t/markers-image-click-event/8622)

<div class="topic-metadata">

**Author:** [@Emre\_Altinbas](https://community.thinkgeo.com/u/Emre_Altinbas)\
**Replies:** 3\
**Last updated:** [August 4, 2017, 10:44am UTC](https://community.thinkgeo.com/t/markers-image-click-event/8622 "2017-08-04T10:44:51Z")

</div>

Hello, I'm using Map Suite MVC Edition for my project. .I'm using Simple Marker Overlay. I have lots of markers and i'm showing them using images on the map. But some markers position is same but angles are different. …

---

## [MVC Edition 9 javascript files issues](https://community.thinkgeo.com/t/mvc-edition-9-javascript-files-issues/8617)

<div class="topic-metadata">

**Author:** [@Thomas1](https://community.thinkgeo.com/u/Thomas1)\
**Replies:** 5\
**Last updated:** [July 31, 2017, 3:03am UTC](https://community.thinkgeo.com/t/mvc-edition-9-javascript-files-issues/8617 "2017-07-31T03:03:11Z")

</div>

coming back for the issue here: http://community.thinkgeo.com/t/using-isdefaultjavascriptlibrarydisabled-true-for-mvcedition-9-0/4333 . I'm trying to copy down the javascript files directly so i can compress them myself…

---

## [GetBitmap with InMemoryMarkerOverlay Example](https://community.thinkgeo.com/t/getbitmap-with-inmemorymarkeroverlay-example/8614)

<div class="topic-metadata">

**Author:** [@Julian\_Houlding](https://community.thinkgeo.com/u/Julian_Houlding)\
**Replies:** 6\
**Last updated:** [July 25, 2017, 6:34am UTC](https://community.thinkgeo.com/t/getbitmap-with-inmemorymarkeroverlay-example/8614 "2017-07-25T06:34:38Z")

</div>

Hello ThinkGeo Support, I am attempting to generate a bitmap image of a Map containing one or more InMemoryMarkerOverlays. Can you point me to any examples? I can get my base layer to show up (LayerOverlay), but it …

---

## [Taking data from Database and mapping the data on a shape file on map](https://community.thinkgeo.com/t/taking-data-from-database-and-mapping-the-data-on-a-shape-file-on-map/8612)

<div class="topic-metadata">

**Author:** [@Developer\_RuWatSIP](https://community.thinkgeo.com/u/Developer_RuWatSIP)\
**Replies:** 7\
**Last updated:** [July 24, 2017, 6:22am UTC](https://community.thinkgeo.com/t/taking-data-from-database-and-mapping-the-data-on-a-shape-file-on-map/8612 "2017-07-24T06:22:39Z")

</div>

Salaam Alike; I am developing a web application in asp.net MVC. I want to take data from database and map the data on a shape file on map. These data are related to provinces. The data retrieved from the Database will …

---

## [Map Suite / WMK Licensing for Development in Local IIS](https://community.thinkgeo.com/t/map-suite-wmk-licensing-for-development-in-local-iis/8608)

<div class="topic-metadata">

**Author:** [@Julian\_Houlding](https://community.thinkgeo.com/u/Julian_Houlding)\
**Replies:** 1\
**Last updated:** [July 12, 2017, 6:39am UTC](https://community.thinkgeo.com/t/map-suite-wmk-licensing-for-development-in-local-iis/8608 "2017-07-12T06:39:57Z")

</div>

Hello ThinkGeo Support, I have a couple of issues regarding licensing of MapSuite 10. For some context, I am using VS2015 and debugging in IIS Express. Under this setup I am still seeing 'World Map Kit Evaluation'…

---

## [SimpleMarkerOverlay Click Event](https://community.thinkgeo.com/t/simplemarkeroverlay-click-event/8596)

<div class="topic-metadata">

**Author:** [@Binary](https://community.thinkgeo.com/u/Binary)\
**Replies:** 3\
**Last updated:** [June 30, 2017, 5:47am UTC](https://community.thinkgeo.com/t/simplemarkeroverlay-click-event/8596 "2017-06-30T05:47:08Z")

</div>

Hello, We make marker position with SimpleMarkerOverlay. And we create function distance with two point. it works very well. if can i distance check mode don't click marker? We have problem reduplication "distance p…

---

## [FileGeoDatabase Layer - Label Rotation](https://community.thinkgeo.com/t/filegeodatabase-layer-label-rotation/8588)

<div class="topic-metadata">

**Author:** [@Chad5](https://community.thinkgeo.com/u/Chad5)\
**Replies:** 7\
**Last updated:** [June 15, 2017, 2:09am UTC](https://community.thinkgeo.com/t/filegeodatabase-layer-label-rotation/8588 "2017-06-15T02:09:12Z")

</div>

I had asked this question in the WebAPI Support but have since switched back to MVC. Is there a way to rotate a label on an individual basis. I have an annotations layer with a column of doubles dedicated for the an…

---

## [Memory leak in map control](https://community.thinkgeo.com/t/memory-leak-in-map-control/8558)

<div class="topic-metadata">

**Author:** [@Jay](https://community.thinkgeo.com/u/Jay)\
**Replies:** 17\
**Last updated:** [June 12, 2017, 1:32am UTC](https://community.thinkgeo.com/t/memory-leak-in-map-control/8558 "2017-06-12T01:32:50Z")

</div>

We just deployed a change to an app that uses a mix of ASP.Net and MVC. It has a user control that contains an iframe that loads an MVC page with a map control on it. This user control is reloaded every time the page doe…

---

## [Inmemorymarkeroverlay onclientclick issue with HighlightOverlay](https://community.thinkgeo.com/t/inmemorymarkeroverlay-onclientclick-issue-with-highlightoverlay/8581)

<div class="topic-metadata">

**Author:** [@M\_Saeed\_Chamman](https://community.thinkgeo.com/u/M_Saeed_Chamman)\
**Replies:** 1\
**Last updated:** [June 2, 2017, 1:54am UTC](https://community.thinkgeo.com/t/inmemorymarkeroverlay-onclientclick-issue-with-highlightoverlay/8581 "2017-06-02T01:54:33Z")

</div>

Hey, I have Inmemorymarkeroverlay and Highlightoverlay in my mvc application both have their own onclientclick events but inmemorymarkeroverlay's onclientclick is not working though highlightmarkeroverlay is working fi…

---

## [Marker client click not working when highlight overlay is applied](https://community.thinkgeo.com/t/marker-client-click-not-working-when-highlight-overlay-is-applied/8578)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 1\
**Last updated:** [June 1, 2017, 6:41am UTC](https://community.thinkgeo.com/t/marker-client-click-not-working-when-highlight-overlay-is-applied/8578 "2017-06-01T06:41:26Z")

</div>

Hi i am facing an issue with markers click event I applied highlight overlay on map now my onclientclick of InMemoryMarkerOverlay is not working I cant find any thread regarding this issue could u please make it …

---

## [Show clicked Area in different color on map](https://community.thinkgeo.com/t/show-clicked-area-in-different-color-on-map/8579)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 1\
**Last updated:** [June 1, 2017, 2:38am UTC](https://community.thinkgeo.com/t/show-clicked-area-in-different-color-on-map/8579 "2017-06-01T02:38:35Z")

</div>

Hi how can i change the color of the selected feature of a shapefile when clicked or selected for example when I click the province of a country the color of that specific province changes Regards Waha Ali

---

## [Custom Layer/Overlay Switcher](https://community.thinkgeo.com/t/custom-layer-overlay-switcher/8567)

<div class="topic-metadata">

**Author:** [@Chad5](https://community.thinkgeo.com/u/Chad5)\
**Replies:** 3\
**Last updated:** [May 24, 2017, 3:09am UTC](https://community.thinkgeo.com/t/custom-layer-overlay-switcher/8567 "2017-05-24T03:09:59Z")

</div>

I'm trying to write a custom overlay/layer switcher and I'm stuck on getting the layers to turn on/off. What do I need to add to my checkbox tag to get the layers to turn off/on. Either I need the scripting code to pla…

---

## [Priint map on server side adding scalebar on pdf](https://community.thinkgeo.com/t/priint-map-on-server-side-adding-scalebar-on-pdf/8485)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 16\
**Last updated:** [May 9, 2017, 9:04am UTC](https://community.thinkgeo.com/t/priint-map-on-server-side-adding-scalebar-on-pdf/8485 "2017-05-09T09:04:52Z")

</div>

Hi i am working in mvc and and printing map to pdf Issue i am facing is i am trying to add scale bar on my pdf after printing .... It adds ShapeOverlay, WorldMap and LayersOverLay correctly But when i try to add ado…

---

## [Multiple Map Loading Issue](https://community.thinkgeo.com/t/multiple-map-loading-issue/8540)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 3\
**Last updated:** [May 9, 2017, 2:28am UTC](https://community.thinkgeo.com/t/multiple-map-loading-issue/8540 "2017-05-09T02:28:00Z")

</div>

Hi I studied this article http://samples.thinkgeo.com/MvcEdition/HowDoISamples/BackgroundMaps/UseGoogleMap/1,AllSamples but when i tried to implement it in my project its not working My maptype in javascript functio…

---

## [Base Map Loading Issue](https://community.thinkgeo.com/t/base-map-loading-issue/8539)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 3\
**Last updated:** [May 9, 2017, 2:30am UTC](https://community.thinkgeo.com/t/base-map-loading-issue/8539 "2017-05-09T02:30:42Z")

</div>

Hi I need to know whats the issue when i load the map it usually donot loads base map completely Here i am attaching an image for your ease I refreshed all the dll’s required but it donot effects it all refreshed brow…

---

## [Printing Map on different Page size](https://community.thinkgeo.com/t/printing-map-on-different-page-size/8478)

<div class="topic-metadata">

**Author:** [@Pervaiz\_Ahmad](https://community.thinkgeo.com/u/Pervaiz_Ahmad)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 3:28am UTC](https://community.thinkgeo.com/t/printing-map-on-different-page-size/8478 "2017-03-29T03:28:09Z")

</div>

Hi, I want to print map on single page i.e. to fit the map on any selected page for example if I want to print a map on A4 the map should shrink to fit in A4. Similarly for other given page sizes. your early respon…

---

## [Saving map issue map colors disappear](https://community.thinkgeo.com/t/saving-map-issue-map-colors-disappear/8473)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 1\
**Last updated:** [March 27, 2017, 3:46am UTC](https://community.thinkgeo.com/t/saving-map-issue-map-colors-disappear/8473 "2017-03-27T03:46:36Z")

</div>

Need some answers urgently I am saving a screenshot of my map using html@canvas, and then sending it to controller +saving that map image as html file in me project folder but the colors visible on the map in browser…

---

## [GetArea of shapes calulation Issue after drawing shapes](https://community.thinkgeo.com/t/getarea-of-shapes-calulation-issue-after-drawing-shapes/8445)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 1\
**Last updated:** [March 16, 2017, 9:14am UTC](https://community.thinkgeo.com/t/getarea-of-shapes-calulation-issue-after-drawing-shapes/8445 "2017-03-16T09:14:55Z")

</div>

Hi Need to ask some questions regarding GetArea() function used to calculate area of shapes Question 1: I get values for POLYGON even if I draw circle or rectangle shape and getting correct values when I draw li…

---

## [MouseCoordinateMapTool resize font](https://community.thinkgeo.com/t/mousecoordinatemaptool-resize-font/8442)

<div class="topic-metadata">

**Author:** [@Binary](https://community.thinkgeo.com/u/Binary)\
**Replies:** 3\
**Last updated:** [March 15, 2017, 5:03am UTC](https://community.thinkgeo.com/t/mousecoordinatemaptool-resize-font/8442 "2017-03-15T05:03:01Z")

</div>

Good day. We are using MouseCoordinateMapTool. ---- Code --- MouseCoordinateMapTool coordinateTool = \_\_map.MapTools.MouseCoordinate; coordinateTool.MouseCoordinateType = MouseCoordinateType.DegreesMinutes…

---

## [How to Add a Scale Bar on the map](https://community.thinkgeo.com/t/how-to-add-a-scale-bar-on-the-map/8440)

<div class="topic-metadata">

**Author:** [@Pervaiz\_Ahmad](https://community.thinkgeo.com/u/Pervaiz_Ahmad)\
**Replies:** 3\
**Last updated:** [March 14, 2017, 1:42am UTC](https://community.thinkgeo.com/t/how-to-add-a-scale-bar-on-the-map/8440 "2017-03-14T01:42:24Z")

</div>

We want to add a scale bar and custom Legend in the map Thanks Pervaiz Ahmad

---

## [Add north arrow on map no sample found for mvc map suite edition](https://community.thinkgeo.com/t/add-north-arrow-on-map-no-sample-found-for-mvc-map-suite-edition/8438)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 1\
**Last updated:** [March 13, 2017, 2:56am UTC](https://community.thinkgeo.com/t/add-north-arrow-on-map-no-sample-found-for-mvc-map-suite-edition/8438 "2017-03-13T02:56:11Z")

</div>

Hi I need to implement north arrow on my map, but cant find the sample or any video related to how can i show a compass on my map The question that are posted related to compass like and mentioned above are not wor…

---

## [KmlFeatureLayer](https://community.thinkgeo.com/t/kmlfeaturelayer/4362)

<div class="topic-metadata">

**Author:** [@Thomas1](https://community.thinkgeo.com/u/Thomas1)\
**Replies:** 10\
**Last updated:** [February 23, 2017, 2:24am UTC](https://community.thinkgeo.com/t/kmlfeaturelayer/4362 "2017-02-23T02:24:01Z")

</div>

I am looking to move away from my custom KML Layer solution to use the ones provided by ThinkGeo in the v8 and v9 release. My KML is built in memory and I would like to avoid writing to the file system if possible. I h…

---

## [GeoFont wiht both bold and italic](https://community.thinkgeo.com/t/geofont-wiht-both-bold-and-italic/8402)

<div class="topic-metadata">

**Author:** [@Joshua\_Sommers](https://community.thinkgeo.com/u/Joshua_Sommers)\
**Replies:** 3\
**Last updated:** [February 16, 2017, 2:17am UTC](https://community.thinkgeo.com/t/geofont-wiht-both-bold-and-italic/8402 "2017-02-16T02:17:37Z")

</div>

Hi, I would like to be able to create a custom GeoFont with the ability to have both Bold and Italic style attributes. I am not able to find a way to do this using the.Style attribute of the GeoFont. Thanks! Josh

---

## [Moving a GDIPlusRasterLayer after the map has been drawn](https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379)

<div class="topic-metadata">

**Author:** [@Joshua\_Sommers](https://community.thinkgeo.com/u/Joshua_Sommers)\
**Replies:** 1\
**Last updated:** [January 27, 2017, 3:44pm UTC](https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379 "2017-01-27T15:44:10Z")

</div>

Hi, I have a GDIPlusRaster layer coming from am image stream. Once the map is created, I would like to be able to move/scale the image to a new location, either before or after the image is drawn. I only have access to t…

---

## [Draw Hashed Line with two specific colors](https://community.thinkgeo.com/t/draw-hashed-line-with-two-specific-colors/8369)

<div class="topic-metadata">

**Author:** [@Kevin7](https://community.thinkgeo.com/u/Kevin7)\
**Replies:** 3\
**Last updated:** [January 19, 2017, 2:03am UTC](https://community.thinkgeo.com/t/draw-hashed-line-with-two-specific-colors/8369 "2017-01-19T02:03:36Z")

</div>

Hello, We are trying to create a line, or shape outline with a multi-color hash. i.e. a dashed line - but with two specific colors, rather than the default - one custom color, one transparent gap. I have code for creat…

---

## [Merging polygons at the server side in a customized MsSql2008FeatureLayer](https://community.thinkgeo.com/t/merging-polygons-at-the-server-side-in-a-customized-mssql2008featurelayer/8347)

<div class="topic-metadata">

**Author:** [@guangming](https://community.thinkgeo.com/u/guangming)\
**Replies:** 5\
**Last updated:** [January 17, 2017, 8:51am UTC](https://community.thinkgeo.com/t/merging-polygons-at-the-server-side-in-a-customized-mssql2008featurelayer/8347 "2017-01-17T08:51:46Z")

</div>

i have already customized MsSql2008FeatureLayer, that allows the value of a field is updated on the fly. This feature Layer is corresponding to one sql table with spatial data and also other non-spatial attributes. I k…

---

## [How to reset cache at some places and extents?](https://community.thinkgeo.com/t/how-to-reset-cache-at-some-places-and-extents/8360)

<div class="topic-metadata">

**Author:** [@reza\_assar](https://community.thinkgeo.com/u/reza_assar)\
**Replies:** 3\
**Last updated:** [January 16, 2017, 2:25am UTC](https://community.thinkgeo.com/t/how-to-reset-cache-at-some-places-and-extents/8360 "2017-01-16T02:25:51Z")

</div>

suppose i just add a new feature to a .shp file. And that .shp file is cached on both server and client side. Then how can i force these cache mechanisms to Re-Cache and embrace newly created feature? besides, client cac…

---

## [Dynamically restrict zoom?](https://community.thinkgeo.com/t/dynamically-restrict-zoom/8357)

<div class="topic-metadata">

**Author:** [@Jay](https://community.thinkgeo.com/u/Jay)\
**Replies:** 5\
**Last updated:** [January 12, 2017, 5:27am UTC](https://community.thinkgeo.com/t/dynamically-restrict-zoom/8357 "2017-01-12T05:27:35Z")

</div>

Is it possible to dynamically change the allowable zooms? I’m trying to adjust the zoom levels depending on if a particular layer is displayed. When I exceed the set zoom, the display changes to all pink, and still lets …

[Previous page](https://community.thinkgeo.com/c/thinkgeo-ui-for-web/thinkgeo-ui-for-web-mvc/9.md)

[Next page](https://community.thinkgeo.com/c/thinkgeo-ui-for-web/thinkgeo-ui-for-web-mvc/9.md?page=2)
