Bonjour,

je voudrai implémenter l'api Mappy, j'ai essayé le code suivant je ne vois pas pourquoi la carte ne s'affiche pas

Code jsp : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML>
<html>
<head>
<title>Mappy</title>
 
<script src="http://axe.mappy.com/1v1/init/get.aspx?auth=.......&version=2.01&solution=ajax"></script>
<script type="text/javascript">
        var map = new Mappy.api.map.Map({
            container:"#mymap"
        });
        map.setCenter(new Mappy.api.geo.Coordinates(2.345,48.86),7);
        
        
</script>
</head>
<body>
  <div id="mymap" style="width:100%; height:400px"></div>
</body>
</html>