MapAdapt
Questions answered by this recipe
How do I add pages open source maps from java scripts or html?
Answer
First, be sure you're aware of the security and possible copyright risks of letting the content of other (arbitrary!) URLs appear in your pages.
Once you've gotten past that hurdle, download includeMapAdap.phpΔ and put it into cookbook/includeMapAdap.php
Description
include_once('cookbook/includeMapAdapt.php');
Installation
Configuration
Usage
To use includeMapAdapat you will need to place this code in your PmWiki website (:includeMapAdapt http://...:)
markup that lets you embed the contents of other pages into a wiki page.
You can set the size and alignment of the map on the page
Supported (optional) fields are:
- height = default/pixels/%
- width = default/pixels/%
- border = default/pixels
- scroll = default/yes/no
- align = default/left/right/center
(:includeMapAdapt http://benchmarks.scaredycatfilms.com/TX.html width=800 height=680 border=1 scroll=yes align=left:)
(:includeMapAdapt [(approve links) edit diff] width=420 height=300 border=1 scroll=no align=right:)
Notes
Change log / Release notes
- This is an edited version of includeSite. It has been modified to include support for MapAdapt and Openlayers maps.
- To use this module, simply place this file in the cookbook/ directory and add the following line into config.php:
See also
Contributors
Comments
See discussion at MapAdapt-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.