I think it is the same process as GoogleMaps or Openlayers
Some documentation in english here :
https://api.ign.fr/geoportail/api/doc/index.html
I have made a little web page for my localhost with ZazouMiniWebServer (http://localhost) :
-------------------------------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script
type="text/javascript"
src="http://api.ign.fr/geoportail/api?v=1.2&key=196939114615185794&instance=maCarte&">
<!--
-->
</script>
<script type="text/javascript">
<!--
function initGeoportalMap() {
//Cette fonction sera exécutée au chargement de la page HTML
//La carte doit y être créée et paramétrée
geoportalLoadmaCarte("plancheCartographique","normal");
maCarte.addGeoportalLayers();
var projection_carte= maCarte.getMap().getProjection();
var projection_ctrl= maCarte.getMap().getDisplayProjection();
maCarte.getMap().setCenterAtLonLat(4.081811, 45.561618, 15);
}
-->
</script>
</head>
<body>
<div id="plancheCartographique" style="width:1000px;height:720px;"></div>
</body>
</html>
-----------------------------------------------------------------------------------------------
This page works, but I do not really know how ..... I do not know the javascript!
Some documentation in english here :
https://api.ign.fr/geoportail/api/doc/index.html
I have made a little web page for my localhost with ZazouMiniWebServer (http://localhost) :
-------------------------------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script
type="text/javascript"
src="http://api.ign.fr/geoportail/api?v=1.2&key=196939114615185794&instance=maCarte&">
<!--
-->
</script>
<script type="text/javascript">
<!--
function initGeoportalMap() {
//Cette fonction sera exécutée au chargement de la page HTML
//La carte doit y être créée et paramétrée
geoportalLoadmaCarte("plancheCartographique","normal");
maCarte.addGeoportalLayers();
var projection_carte= maCarte.getMap().getProjection();
var projection_ctrl= maCarte.getMap().getDisplayProjection();
maCarte.getMap().setCenterAtLonLat(4.081811, 45.561618, 15);
}
-->
</script>
</head>
<body>
<div id="plancheCartographique" style="width:1000px;height:720px;"></div>
</body>
</html>
-----------------------------------------------------------------------------------------------
This page works, but I do not really know how ..... I do not know the javascript!
