# Increase the tile cache size for map perspective component

**URL:** <https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550>\
**Category:** Ignition Early Access\
**Created:** [September 25, 2019, 4:41pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550 "2019-09-25T16:41:11Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 27, 2019, 8:42pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/21 "2019-12-27T20:42:33Z")

</div>

Thanks a lot. What a great solution. By the way it works with [https://mobac.sourceforge.io/](https://mobac.sourceforge.io/)  
So I can download other map source like Google maps with the format that you mentioned.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 2, 2021, 2:13am UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/22 "2021-07-02T02:13:04Z")

</div>

> [@mazeyrat](#):
>
> For exporting maps from **Open Street Map** , you should use:  
> [http://maperitive.net](http://maperitive.net)
> 
> and put the files in:
> 
> ```auto
> C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main\tiles
> 
> ```
> 
> with the directory {z}/{x}/{y}
> 
> In perspective, you will have to ch...

Thanks a lot, @mazeyrat! Very cool 🙂 and SUPER simple. @Paul.Scott possible to add this into the IA user manual under the Perspective Map component?

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [July 2, 2021, 6:44pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/23 "2021-07-02T18:44:02Z")

</div>

> [@nminchin](#):
>
> @Paul.Scott possible to add this into the IA user manual under the Perspective Map component?

I'm not super excited on the premise of storing things in the `webserver\webapps\main\` directory, for two reasons.

1. Our installers delete that directory on upgrade, so you'd need to be mindful about managing those tiles yourself on upgrade
2. I'm not an expert on the matter, but my understanding of how files in that directory get served up is sort of a byproduct of some stuff Jetty does. Meaning, nothing we wrote in our code base is directly facilitating that behavior. The next time we upgrade Jetty, that functionality could just disappear.

Point #2 is a big part of the reason why the user manual doesn't really suggest putting things in that directory. I could see using a WebDev Mounted Folder or some other webserver to store the tiles, which the component page you suggested could mention.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [July 2, 2021, 8:16pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/24 "2021-07-02T20:16:48Z")

</div>

Web dev is add to project for just simple serving some files. So please don’t disable that option for us.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 2, 2021, 11:08pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/25 "2021-07-02T23:08:14Z")

</div>

Thanks Paul, I didn’t know that those files were deleted on upgrade, good to know!  
I’ll see about adding the Web dev module to our customer’s licence. Thanks for the reply and the info

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [July 2, 2021, 11:29pm UTC](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550/26 "2021-07-02T23:29:39Z")

</div>

Sure thing. FWIW, might be worth looking at that self hosting OpenMapTiles link mazeyrat posted early in this thread. I haven’t had a chance to check it out yet, but seems promising.

[Previous page](https://forum.inductiveautomation.com/t/increase-the-tile-cache-size-for-map-perspective-component/28550.md?page=1)
