The default tile cache location is the "rosm.cache" folder in the current working directory, but for a variety of reasons it may be desirable to use one cache directory for all calls in a script. This must be called every time the namespace is loaded.
1 2 3
A path to use as the cache directory (relative to the working directory). Use NULL to reset to the default.
The previous cache directory, invisibly.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.