-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gioscarda
committed
Jun 25, 2019
1 parent
bfbc786
commit 97de82d
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
Publishing Data | ||
=============== | ||
|
||
In GeoNode, each resource can be published in order to share it with other people. | ||
Once a *Map* has been published you can embed it in your web pages, your blog or your web site. | ||
|
||
An easy way to accomplish that is to use an ``iframe``. See the following steps: | ||
|
||
* Open the :ref:`map-info` page and copy the *URL* | ||
|
||
.. figure:: img/map_url.png | ||
:align: center | ||
|
||
*The Map Infromation Page URL* | ||
|
||
* Add *"/embed"* to the URL so that it will be like this *"http://master.demo.geonode.org/maps/11/embed"* | ||
|
||
* Use this URL inside an html ``iframe`` as ``src`` value | ||
|
||
.. code-block:: html | ||
|
||
<iframe | ||
style="border: none;" height="400" width="600" | ||
src="http://master.demo.geonode.org/maps/11/embed" | ||
></iframe> | ||
|
||
* Put this html block of code inside your web pages to display the map. | ||
|
||
Saving an html file with this code you can test your map on your pc, look at the following picture. | ||
|
||
.. figure:: img/map_embed.png | ||
:align: center | ||
|
||
*The Embedded Map* | ||
|
||
As you can see, some basic functionalities will be available to the user: the :ref:`toc`, the :ref:`basemap-switcher`, the :ref:`sidebar` and the :ref:`options-menu-tools`. |