# MVC

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

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

---

## [About the MVC category](https://community.thinkgeo.com/t/about-the-mvc-category/17)

<div class="topic-metadata">

**Author:** [@system](https://community.thinkgeo.com/u/system)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 5:56am UTC](https://community.thinkgeo.com/t/about-the-mvc-category/17 "2016-03-22T05:56:09Z")

</div>

This is where you can discuss any questions or issues with the Map Suite MVC Edition. If you are new to Map Suite check out the Map Suite MVC Edition Wiki Page where you can find a Quick Start Guide, Videos, Code Sampl…

---

## [Valustyle to InmemoryFeatureLayer](https://community.thinkgeo.com/t/valustyle-to-inmemoryfeaturelayer/9728)

<div class="topic-metadata">

**Author:** [@Mouni\_M](https://community.thinkgeo.com/u/Mouni_M)\
**Replies:** 8\
**Last updated:** [February 5, 2020, 7:40am UTC](https://community.thinkgeo.com/t/valustyle-to-inmemoryfeaturelayer/9728 "2020-02-05T07:40:23Z")

</div>

Hi Ethan, as per your recent solution,it did not work. I am provoding my code here… LayerOverlay staticOverlay = (LayerOverlay)Map1.CustomOverlays\[“StaticOverLay”\]; ShapeFileFeatureLayer shapeFileLayer = (ShapeFileFe…

---

## [Support for Vector Tile layers](https://community.thinkgeo.com/t/support-for-vector-tile-layers/9669)

<div class="topic-metadata">

**Author:** [@Luke\_Orpin](https://community.thinkgeo.com/u/Luke_Orpin)\
**Replies:** 6\
**Last updated:** [December 17, 2019, 6:49am UTC](https://community.thinkgeo.com/t/support-for-vector-tile-layers/9669 "2019-12-17T06:49:18Z")

</div>

I am developing an application where we need to retrieve Vector Tiles from an API source and display the tiles as a layer on our ThinkGeo map. The Vector Tiles returned from the API are provided as raw data in a Protocol…

---

## [Version 10 Unlimited License Install](https://community.thinkgeo.com/t/version-10-unlimited-license-install/9679)

<div class="topic-metadata">

**Author:** [@Stephen1](https://community.thinkgeo.com/u/Stephen1)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 3:19am UTC](https://community.thinkgeo.com/t/version-10-unlimited-license-install/9679 "2019-12-11T03:19:44Z")

</div>

We currently have a couple of MVC applications built on version 8 of TG and deployed out to production on many many servers. We purchased the unlimited deployment license option since we have so many servers across many…

---

## [Error when setting the Text property on a Marker](https://community.thinkgeo.com/t/error-when-setting-the-text-property-on-a-marker/9555)

<div class="topic-metadata">

**Author:** [@Jason\_Giles](https://community.thinkgeo.com/u/Jason_Giles)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 4:53am UTC](https://community.thinkgeo.com/t/error-when-setting-the-text-property-on-a-marker/9555 "2019-07-17T04:53:21Z")

</div>

I get the following error when assigning the Text property of a Marker: "Object reference not set to an instance of an object.: at ThinkGeo.MapSuite.Mvc.Map.xVA=(Bitmap bitmap, PlatformGeoCanvas geoCanvas, Collection…

---

## [Need guidance about creation and implementation of cache tiles](https://community.thinkgeo.com/t/need-guidance-about-creation-and-implementation-of-cache-tiles/9478)

<div class="topic-metadata">

**Author:** [@M\_Saeed\_Chamman](https://community.thinkgeo.com/u/M_Saeed_Chamman)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 5:00am UTC](https://community.thinkgeo.com/t/need-guidance-about-creation-and-implementation-of-cache-tiles/9478 "2019-03-19T05:00:51Z")

</div>

can you please guide me how to create and use cache tiles in mvc because i have seen the given example of win forms but i'm unable to understand that how can i use it in mvc or how does it work.

---

## [Edit nodes only showing after an extra click](https://community.thinkgeo.com/t/edit-nodes-only-showing-after-an-extra-click/9442)

<div class="topic-metadata">

**Author:** [@Luke\_Orpin](https://community.thinkgeo.com/u/Luke_Orpin)\
**Replies:** 3\
**Last updated:** [January 30, 2019, 3:23am UTC](https://community.thinkgeo.com/t/edit-nodes-only-showing-after-an-extra-click/9442 "2019-01-30T03:23:30Z")

</div>

Hello, I am having a slight issue with editing and manipulating features on ThinkGeo project. I have designed the project so that users are able to select and edit features that they have drawn on the map. Currently…

---

## [Shapefile click event](https://community.thinkgeo.com/t/shapefile-click-event/9202)

<div class="topic-metadata">

**Author:** [@jmarshall](https://community.thinkgeo.com/u/jmarshall)\
**Replies:** 27\
**Last updated:** [September 12, 2018, 7:58am UTC](https://community.thinkgeo.com/t/shapefile-click-event/9202 "2018-09-12T07:58:51Z")

</div>

Is there documentation or code examples for how to register and handle a click event for a shape file layer, including how to query the shape file underlying data?

---

## [MapSuite MVC View Model](https://community.thinkgeo.com/t/mapsuite-mvc-view-model/9237)

<div class="topic-metadata">

**Author:** [@jmarshall](https://community.thinkgeo.com/u/jmarshall)\
**Replies:** 2\
**Last updated:** [August 6, 2018, 10:09am UTC](https://community.thinkgeo.com/t/mapsuite-mvc-view-model/9237 "2018-08-06T10:09:30Z")

</div>

Is there a way to return a View Model that either inherits from Map or contains a map property so that we can not only return the map in the controller to the view, but also custom properties in the Map VIew Model? pub…

---

## [Map1.ajaxCallAction does not pass custom Model rather than map](https://community.thinkgeo.com/t/map1-ajaxcallaction-does-not-pass-custom-model-rather-than-map/4179)

<div class="topic-metadata">

**Author:** [@guangming](https://community.thinkgeo.com/u/guangming)\
**Replies:** 7\
**Last updated:** [August 6, 2018, 10:09am UTC](https://community.thinkgeo.com/t/map1-ajaxcallaction-does-not-pass-custom-model-rather-than-map/4179 "2018-08-06T10:09:09Z")

</div>

I have a lot of data i would like to manage them in my Model. So i created a new class ViewModel that includes Map, and other data elements as class properties. Everything is working: Html.ThinkGeo().Map(Model.Map).R…

---

## [Evaluation water mark issue after license](https://community.thinkgeo.com/t/evaluation-water-mark-issue-after-license/9062)

<div class="topic-metadata">

**Author:** [@Waha\_Ali](https://community.thinkgeo.com/u/Waha_Ali)\
**Replies:** 11\
**Last updated:** [July 23, 2018, 9:20am UTC](https://community.thinkgeo.com/t/evaluation-water-mark-issue-after-license/9062 "2018-07-23T09:20:25Z")

</div>

Hi We are facing an issue regarding evaluation. We have purchased server license for our project, and used server deployment tool also. Water mark of Eval 0 days is still appearing on map as shown in the below image K…

---

## [Production licensing and the cloud](https://community.thinkgeo.com/t/production-licensing-and-the-cloud/9175)

<div class="topic-metadata">

**Author:** [@Jay](https://community.thinkgeo.com/u/Jay)\
**Replies:** 5\
**Last updated:** [July 10, 2018, 6:50am UTC](https://community.thinkgeo.com/t/production-licensing-and-the-cloud/9175 "2018-07-10T06:50:38Z")

</div>

We currently have two production licenses. We are planning a transition to a cloud environment, where we would be load balancing the servers, basically having one up all the time and spinning up/taking down the other as …

---

## [Load LayerOverlay from JSON](https://community.thinkgeo.com/t/load-layeroverlay-from-json/9170)

<div class="topic-metadata">

**Author:** [@Atif\_Paracha](https://community.thinkgeo.com/u/Atif_Paracha)\
**Replies:** 1\
**Last updated:** [June 25, 2018, 2:55am UTC](https://community.thinkgeo.com/t/load-layeroverlay-from-json/9170 "2018-06-25T02:55:03Z")

</div>

Hi, We have been having issues loading data from GDB files so instead are creating the LayerOverlay with the data in an external application and returning it via an API. The data comes in as JSON so trying to find out …

---

## [Loading data from MS SQL](https://community.thinkgeo.com/t/loading-data-from-ms-sql/9171)

<div class="topic-metadata">

**Author:** [@Atif\_Paracha](https://community.thinkgeo.com/u/Atif_Paracha)\
**Replies:** 1\
**Last updated:** [June 25, 2018, 2:31am UTC](https://community.thinkgeo.com/t/loading-data-from-ms-sql/9171 "2018-06-25T02:31:29Z")

</div>

Hi, Does the MsSqlFeatureLayer work with newer versions of MS SQL like 2012 ? Cheers, Atif

---

## [Google Maps api key](https://community.thinkgeo.com/t/google-maps-api-key/9158)

<div class="topic-metadata">

**Author:** [@jmarshall](https://community.thinkgeo.com/u/jmarshall)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 2:35am UTC](https://community.thinkgeo.com/t/google-maps-api-key/9158 "2018-06-14T02:35:30Z")

</div>

Where do we enter our Google Maps api key?

---

## [Setting a Map to Full Screen](https://community.thinkgeo.com/t/setting-a-map-to-full-screen/8169)

<div class="topic-metadata">

**Author:** [@Daren4](https://community.thinkgeo.com/u/Daren4)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 3:09am UTC](https://community.thinkgeo.com/t/setting-a-map-to-full-screen/8169 "2018-06-07T03:09:33Z")

</div>

Hello, I was working my way through the MVC quick start sample, and I was having some trouble setting the map size to be percentage based rather than a static pixel width/height. I tried doing the following: Html.Thi…

---

## [Openlayers framework and MVC](https://community.thinkgeo.com/t/openlayers-framework-and-mvc/9129)

<div class="topic-metadata">

**Author:** [@Bibek](https://community.thinkgeo.com/u/Bibek)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 2:16am UTC](https://community.thinkgeo.com/t/openlayers-framework-and-mvc/9129 "2018-06-06T02:16:44Z")

</div>

Hi @Ethan , I just want to know , can I use Openlayer JS framework and thinkgeo Mvc edition together to add and remove layer and other functionalities? Also, can I access the layer added from openlayer from back end cod…

---

## [How can I convert x y co-ordinate to degree decimal](https://community.thinkgeo.com/t/how-can-i-convert-x-y-co-ordinate-to-degree-decimal/4080)

<div class="topic-metadata">

**Author:** [@Yogesh](https://community.thinkgeo.com/u/Yogesh)\
**Replies:** 9\
**Last updated:** [May 8, 2018, 5:46am UTC](https://community.thinkgeo.com/t/how-can-i-convert-x-y-co-ordinate-to-degree-decimal/4080 "2018-05-08T05:46:47Z")

</div>

hi.. I have created map app. with using thinkgeo. I am currently trying to put marker on map with specific x and y positions, but I have faced problem with that I can't transform my own co-ordinate's because it is for g…

---

## [License on a web application service](https://community.thinkgeo.com/t/license-on-a-web-application-service/9015)

<div class="topic-metadata">

**Author:** [@Thomas1](https://community.thinkgeo.com/u/Thomas1)\
**Replies:** 5\
**Last updated:** [May 7, 2018, 2:44am UTC](https://community.thinkgeo.com/t/license-on-a-web-application-service/9015 "2018-05-07T02:44:29Z")

</div>

In order to license thinkgeo on a web application, you need to run the ThinkGeo.MapSuite.ProductCenter.exe on the server running your application, and choose to 'set up as a production server' in the Map Suite Web for MV…

---

## [Issue reading GDB files](https://community.thinkgeo.com/t/issue-reading-gdb-files/9022)

<div class="topic-metadata">

**Author:** [@Atif\_Paracha](https://community.thinkgeo.com/u/Atif_Paracha)\
**Replies:** 11\
**Last updated:** [April 16, 2018, 3:03am UTC](https://community.thinkgeo.com/t/issue-reading-gdb-files/9022 "2018-04-16T03:03:36Z")

</div>

Hi, I am trying to open up a gdb file by setting up a FileGeoDatabaseFeatureLayer but when its Open() function is called, the application returns errors like InnerException = {"Could not load file or assembly 'Esri.…

---

## [InMemoryFeatures layers that store a lot features don't render consistently](https://community.thinkgeo.com/t/inmemoryfeatures-layers-that-store-a-lot-features-dont-render-consistently/8926)

<div class="topic-metadata">

**Author:** [@Samuel\_Brownell](https://community.thinkgeo.com/u/Samuel_Brownell)\
**Replies:** 1\
**Last updated:** [February 8, 2018, 7:52am UTC](https://community.thinkgeo.com/t/inmemoryfeatures-layers-that-store-a-lot-features-dont-render-consistently/8926 "2018-02-08T07:52:51Z")

</div>

We developed a tool that uses ThinkGeo to display many features on a map. All those features are stored in InMemoryFeatureLayers. The problem we have is that sometimes it happens that not all features are loaded on map …

---

## [OpenLayers Upgrade](https://community.thinkgeo.com/t/openlayers-upgrade/8876)

<div class="topic-metadata">

**Author:** [@Greg2](https://community.thinkgeo.com/u/Greg2)\
**Replies:** 3\
**Last updated:** [January 18, 2018, 2:46am UTC](https://community.thinkgeo.com/t/openlayers-upgrade/8876 "2018-01-18T02:46:58Z")

</div>

I see that there is an enhancement request to upgrade to OpenLayers 3 for MVC Edition but I have not seen anywhere that this is being worked on. OpenLayers 3 has been released for quite some time now and they are now at…

---

## [Possible to reload the current page, after an ajax call?](https://community.thinkgeo.com/t/possible-to-reload-the-current-page-after-an-ajax-call/8856)

<div class="topic-metadata">

**Author:** [@guangming](https://community.thinkgeo.com/u/guangming)\
**Replies:** 3\
**Last updated:** [January 4, 2018, 3:36am UTC](https://community.thinkgeo.com/t/possible-to-reload-the-current-page-after-an-ajax-call/8856 "2018-01-04T03:36:08Z")

</div>

being lazy, i am wondering if that is possible - i saved a lot of application settings on the server side. So reloading the page from the server, will save me a lot of codes to update the page/map... Thanks,

---

## [QueryTools.ExecuteQuery() Exception Handling](https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853)

<div class="topic-metadata">

**Author:** [@Chad5](https://community.thinkgeo.com/u/Chad5)\
**Replies:** 1\
**Last updated:** [December 29, 2017, 7:24am UTC](https://community.thinkgeo.com/t/querytools-executequery-exception-handling/8853 "2017-12-29T07:24:50Z")

</div>

Is there a way to handle exceptions for QueryTools.ExecuteQuery. I have a SQL statement that is having errors which I know I can fix but I would like my program to handle an exception when the function fails. When I ru…

---

## [Some features disappear](https://community.thinkgeo.com/t/some-features-disappear/8765)

<div class="topic-metadata">

**Author:** [@Taras\_Petrovych](https://community.thinkgeo.com/u/Taras_Petrovych)\
**Replies:** 3\
**Last updated:** [December 11, 2017, 6:27am UTC](https://community.thinkgeo.com/t/some-features-disappear/8765 "2017-12-11T06:27:40Z")

</div>

Hi, We have an issue with the mapping. When map loads it has a lot of features in it (one for every county) and basically it looks like this: \[image\] But the problem is that after zooming after 'redrawLayer' is calle…

---

## [World Map Kit HTTPS requests](https://community.thinkgeo.com/t/world-map-kit-https-requests/8675)

<div class="topic-metadata">

**Author:** [@Julian\_Houlding](https://community.thinkgeo.com/u/Julian_Houlding)\
**Replies:** 3\
**Last updated:** [October 16, 2017, 6:38am UTC](https://community.thinkgeo.com/t/world-map-kit-https-requests/8675 "2017-10-16T06:38:57Z")

</div>

Hello ThinkGeo Support, We have deployed ThinkGeo using the World Map Kit to a secure server. All requests are using HTTPS except requests to World Map Kit. One of our requests looks like the following: http://world…

---

## [Google Map display issues](https://community.thinkgeo.com/t/google-map-display-issues/8582)

<div class="topic-metadata">

**Author:** [@Chad5](https://community.thinkgeo.com/u/Chad5)\
**Replies:** 9\
**Last updated:** [October 11, 2017, 8:30am UTC](https://community.thinkgeo.com/t/google-map-display-issues/8582 "2017-10-11T08:30:01Z")

</div>

Using MapSuite 9.0.0.180 for MVC. I have loaded multiple background maps into my project (Google/Bing/OpenStreetMap) and everything runs well on my local machine. Howerver, when I upload the project to the server the G…

---

## [Pink tiles with Web farm](https://community.thinkgeo.com/t/pink-tiles-with-web-farm/8639)

<div class="topic-metadata">

**Author:** [@Thomas1](https://community.thinkgeo.com/u/Thomas1)\
**Replies:** 6\
**Last updated:** [September 28, 2017, 8:45am UTC](https://community.thinkgeo.com/t/pink-tiles-with-web-farm/8639 "2017-09-28T08:45:36Z")

</div>

Has anyone had an issue with this at all? I have 3 servers all in a web farm. 1 is the balance server, that has the actual web farm installed, the other 2 are my websites. Both identical, both set up to round robin sh…

---

## [Wrong version of Newtonsoft.Json is downloaded from Nuget packes update](https://community.thinkgeo.com/t/wrong-version-of-newtonsoft-json-is-downloaded-from-nuget-packes-update/8635)

<div class="topic-metadata">

**Author:** [@Niels\_Kaae](https://community.thinkgeo.com/u/Niels_Kaae)\
**Replies:** 1\
**Last updated:** [August 21, 2017, 5:02am UTC](https://community.thinkgeo.com/t/wrong-version-of-newtonsoft-json-is-downloaded-from-nuget-packes-update/8635 "2017-08-21T05:02:08Z")

</div>

I am trying to evaluate the example "UsDemographicMapSample-ForMvc". I have some problems with the version number of Newtonsoft.Json. When I open the solution and update the nuget packes I get version 10.0.1 of Newtons…

---

## [How do i save the map as image in thinkgeo 10?](https://community.thinkgeo.com/t/how-do-i-save-the-map-as-image-in-thinkgeo-10/8634)

<div class="topic-metadata">

**Author:** [@Thomas1](https://community.thinkgeo.com/u/Thomas1)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 7:16am UTC](https://community.thinkgeo.com/t/how-do-i-save-the-map-as-image-in-thinkgeo-10/8634 "2017-08-17T07:16:10Z")

</div>

Hi there. I know that you used to use the mapengine in order to save the current visible map as an image before, but since thinkgeo 10 doesn't include the mapengine anymore ( http://wiki.thinkgeo.com/wiki/map\_suite\_10\_u…

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