Commit d9d69d00 authored by barth23's avatar barth23
Browse files

edit file paths

parent 148f638e
<div data-template="templates:surround" data-template-with="templates/page_index.html" data-template-at="content-container">
<meta charset="utf-8"/>
<link rel="stylesheet" href="templates/css/itinerary.css"/>
<link rel="stylesheet" href="templates/itinerary/css/itinerary.css"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js" integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew==" crossorigin=""/>
<script src="/exist/apps/sade-architrave/templates/paris-project/js/leaflet-providers.js"/>
<script src="templates/itinerary/js/leaflet-providers.js"/>
<script src="https://unpkg.com/georaster"/>
<script src="https://unpkg.com/georaster-layer-for-leaflet/georaster-layer-for-leaflet.browserify.min.js"/>
......@@ -46,7 +46,7 @@
<div id="mapid" class="arch-content arch-content-margin">
<script src="templates/js/map_integration.js"></script>
<script src="templates/itinerary/js/map_integration.js"/>
</div>
</div>
......
var path = "/exist/apps/sade-architrave/templates/paris-project/js/europeMap.js"
var path = "templates/itinerary/js/europeMap.js"
$.ajax({
type: "GET",
......@@ -13,12 +13,10 @@ $("input[name='map_button']").change(function(){
var button_value = $("input[name='map_button']:checked").attr("value");
//console.log(button_value)
if (button_value == "europeMap") {
console.log(button_value)
var path = "/exist/apps/sade-architrave/templates/paris-project/js/europeMap.js"
var path = "templates/itinerary/js/europeMap.js"
}
if (button_value == "parisMap") {
console.log(button_value)
var path = "/exist/apps/sade-architrave/templates/paris-project/js/parisMap.js"
var path = "templates/itinerary/js/parisMap.js"
}
$.ajax({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment