Add the following code into the article:

Displaying map

altphocamaps view=map|id=1alt

 

Displaying link to map

altphocamaps view=link|id=1|text=Link to Mapalt

 

Displaying iframe map

altphocamaps view=iframe|iframesrc=Link to Mapalt

 

You can use following attributes:

  • view - map|link|iframe
  • text - text (title) which will be displayed in the content article as a link
  • id - id of map (map saved in Phoca Maps component)
  • kmlfile - (0 - disable | 1 - enable) set if loading a KML file will be allowed or not. If yes, KML file which will be set in Map configuration can be loaded on the site.
  • printroute -  (0 - disable | 1 - enable) set if Print Route link will be displayed after rendering route on the site.
  • iframesrc - if view = iframe is used, set the url link of the map (this can be copied from e.g. Google Maps website per share button - Embed a map)
  • iframewidth - set width of the iframe
  • iframeheight - set height of the iframe

For OSM map type you can use:

  • osmmaptype - osm | osm_hot | opentopomap | osm_de | osm_fr | osm_bw

See Phoca Maps - Plugin demo

 

Important
When you copy the code from this website, please don't copy the { and }, because these are images. When you add the code to your own article you have to type the { and } yourself. (If it would be typed here, you wouldn't see the code, but the links). Don't use line breaks for the code. The code should be added without any line breaks into the editor.
 

 

 

100+
GitHub Projects
Arctic Code
Vault Contributor
12 Million+
Downloads
70 000+
Answered Questions
2 100+
Planted Trees