Commit 2e067a25 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '1338-zoom-level-not-reflected-in-url-after-map-open' into 'devel_15.1.x'

Resolve "[Low priority] Setting custom default (first-time-opening) zoom and position - Zoom does not work as expected"

See merge request !1254
parents ac817c7e 73417457
Pipeline #34552 passed with stage
in 19 minutes and 52 seconds
minerva (15.1.1) stable; urgency=medium
* Bug fix: export to CD maps with species containing ":" or "." in species id
generated files that could not be opened in CellDesigner (#1363)
* Bug fix: zoom level change was not reflected in the url when submap was
opened (#1338)
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 23 Nov 2020 15:00:00 +0200
......
......@@ -69,7 +69,7 @@ public class CellDesignerElementCollection {
String sbmlId = getSbmlId(modelElement, true);
if (sbmlIdByElement.get(sbmlId) == null) {
String normalizedId = normalizeIdToCellDesigner(modelElement.getElementId());
if (!normalizedId.equals(modelElement.getElementId())) {
if (!Objects.equals(normalizedId, modelElement.getElementId())) {
logger.warn(new LogMarker(ProjectLogEntryType.EXPORT_ISSUE, modelElement), "Invalid element id");
}
String id = "s_id_" + normalizeIdToCellDesigner(modelElement.getElementId());
......@@ -296,6 +296,9 @@ public class CellDesignerElementCollection {
}
protected String normalizeIdToCellDesigner(String id) {
if (id == null) {
return null;
}
return id.replaceAll("[:\\.-]", "_");
}
......
......@@ -10,6 +10,7 @@ import java.util.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.commons.io.FilenameUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.sbgn.*;
......@@ -118,7 +119,9 @@ public class SbgnmlXmlParser {
public Model createModel(String filename, File inputSbgnmlFile) throws InvalidInputDataExecption {
model = new ModelFullIndexed(null);
model.setIdModel(filename);
if (filename != null) {
model.setIdModel(FilenameUtils.getBaseName(filename).replaceAll("-", "_"));
}
Sbgn sbgnData;
Map map = null;
......
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.2">
<map language="process description">
<glyph id="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061" class="compartment">
<glyph id="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061" class="compartment">
<label text="Cytoplasm"/>
<bbox x="572.125" y="16.149999999999977" w="477.4263309352516" h="641.725"/>
</glyph>
<glyph id="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815" class="compartment" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815" class="compartment" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="Nucleus"/>
<bbox x="594.8263309352517" y="270.3339698656986" w="432.5" h="302.3749999999997"/>
</glyph>
<glyph id="c3a94e68-cca7-3c6a-f546-33c23dc59923" class="complex" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="c3a94e68__cca7__3c6a__f546__33c23dc59923" class="complex" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="MPF"/>
<bbox x="883.0763309352517" y="359.8652198656986" w="74.25" h="86.87500000000011"/>
<glyph id="7813a623-ae26-a5e1-d4e2-e2eb1d2c14d7" class="macromolecule">
<glyph id="7813a623__ae26__a5e1__d4e2__e2eb1d2c14d7" class="macromolecule">
<label text="CDK1"/>
<bbox x="884.7013309352517" y="368.1152198656986" w="70" h="35"/>
</glyph>
<glyph id="1e1a9dc6-32ae-464a-9912-68fc274f8fb4" class="macromolecule">
<glyph id="1e1a9dc6__32ae__464a__9912__68fc274f8fb4" class="macromolecule">
<label text="cyclinB"/>
<bbox x="885.7013309352517" y="410.1152198656987" w="70" h="35"/>
</glyph>
</glyph>
<glyph id="6f6a1c77-176d-7188-cdd5-048d3908a8b1" class="macromolecule" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="6f6a1c77__176d__7188__cdd5__048d3908a8b1" class="macromolecule" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="Wee1"/>
<bbox x="659.7013309352517" y="278.58396986569863" w="70" h="35"/>
</glyph>
<glyph id="7626c6b6-b0e0-b4b7-e5f3-f803fe319ef8" class="macromolecule" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="7626c6b6__b0e0__b4b7__e5f3__f803fe319ef8" class="macromolecule" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="Wee1"/>
<bbox x="786.7013309352517" y="278.58396986569863" w="70" h="35"/>
</glyph>
<glyph id="9615ba87-e042-ef50-d78e-1ef00df34a6e" class="process" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="9615ba87__e042__ef50__d78e__1ef00df34a6e" class="process" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<bbox x="755.5992901189252" y="290.9819290493721" w="10.204081632653063" h="10.204081632653063"/>
<port id="9615ba87-e042-ef50-d78e-1ef00df34a6e.1" x="753.5584737923946" y="296.08396986569863"/>
<port id="9615ba87-e042-ef50-d78e-1ef00df34a6e.2" x="767.8441880781088" y="296.08396986569863"/>
<port id="9615ba87__e042__ef50__d78e__1ef00df34a6e.1" x="753.5584737923946" y="296.08396986569863"/>
<port id="9615ba87__e042__ef50__d78e__1ef00df34a6e.2" x="767.8441880781088" y="296.08396986569863"/>
</glyph>
<glyph id="35a3e0be-6e00-7a99-fca5-18ed65c2fac1" class="macromolecule" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="35a3e0be__6e00__7a99__fca5__18ed65c2fac1" class="macromolecule" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="String"/>
<bbox x="596.4513309352517" y="536.0839698656984" w="70" h="35"/>
</glyph>
<glyph id="bf4e242a-2a4e-49c2-0bf4-9cc45e2eae34" class="macromolecule" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="bf4e242a__2a4e__49c2__0bf4__9cc45e2eae34" class="macromolecule" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="String"/>
<bbox x="720.9513309352517" y="536.0839698656984" w="70" h="35"/>
</glyph>
<glyph id="2785fbb1-18d0-0b2f-dcf2-968acc6869c0" class="process" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="2785fbb1__18d0__0b2f__dcf2__968acc6869c0" class="process" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<bbox x="691.8492901189252" y="548.4819290493718" w="10.204081632653063" h="10.204081632653063"/>
<port id="2785fbb1-18d0-0b2f-dcf2-968acc6869c0.1" x="689.8084737923946" y="553.5839698656984"/>
<port id="2785fbb1-18d0-0b2f-dcf2-968acc6869c0.2" x="704.0941880781088" y="553.5839698656984"/>
<port id="2785fbb1__18d0__0b2f__dcf2__968acc6869c0.1" x="689.8084737923946" y="553.5839698656984"/>
<port id="2785fbb1__18d0__0b2f__dcf2__968acc6869c0.2" x="704.0941880781088" y="553.5839698656984"/>
</glyph>
<glyph id="nwtN_5a3ef454-8d2b-46de-b3a1-f9a0c2409ee4" class="macromolecule" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="nwtN_5a3ef454__8d2b__46de__b3a1__f9a0c2409ee4" class="macromolecule" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<label text="IE"/>
<bbox x="955.7013309352517" y="479.0839698656987" w="70" h="35"/>
</glyph>
<glyph id="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c" class="process" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c" class="process" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<bbox x="916.5992901189252" y="491.4819290493722" w="10.204081632653063" h="10.204081632653063"/>
<port id="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c.1" x="914.5584737923946" y="496.5839698656987"/>
<port id="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c.2" x="928.8441880781088" y="496.5839698656987"/>
<port id="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c.1" x="914.5584737923946" y="496.5839698656987"/>
<port id="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c.2" x="928.8441880781088" y="496.5839698656987"/>
</glyph>
<glyph id="nwtN_617312c5-bae0-423e-a711-c6adfee4193b" class="source and sink" compartmentRef="nwtN_31dec67c-8c37-40ec-bfad-d038cf1dc815">
<glyph id="nwtN_617312c5__bae0__423e__a711__c6adfee4193b" class="source and sink" compartmentRef="nwtN_31dec67c__8c37__40ec__bfad__d038cf1dc815">
<bbox x="862.2013309352517" y="484.0839698656987" w="25" h="25"/>
</glyph>
<glyph id="89360553-bab4-532a-c6c7-624272c4e43b" class="complex" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="89360553__bab4__532a__c6c7__624272c4e43b" class="complex" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="MPF"/>
<bbox x="858.875" y="35" w="74.25" h="86.875"/>
<glyph id="0c291302-4021-844a-0dd2-97d76ee79ad1" class="macromolecule">
<glyph id="0c291302__4021__844a__0dd2__97d76ee79ad1" class="macromolecule">
<label text="CDK1"/>
<bbox x="860.5" y="43.25" w="70" h="35"/>
</glyph>
<glyph id="7c5c9a6d-976b-72b0-0c28-422b3279aeba" class="macromolecule">
<glyph id="7c5c9a6d__976b__72b0__0c28__422b3279aeba" class="macromolecule">
<label text="cyclinB"/>
<bbox x="861.5" y="85.25" w="70" h="35"/>
</glyph>
</glyph>
<glyph id="nwtN_1eb9a857-e6fe-43e0-ae92-94ac8318e427" class="macromolecule" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="nwtN_1eb9a857__e6fe__43e0__ae92__94ac8318e427" class="macromolecule" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="Wee1"/>
<bbox x="637" y="160.25" w="70" h="35"/>
</glyph>
<glyph id="a2ee1683-eb5f-030d-3bbe-46c0a02cb659" class="macromolecule" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="a2ee1683__eb5f__030d__3bbe__46c0a02cb659" class="macromolecule" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="Wee1"/>
<bbox x="764" y="160.25" w="70" h="35"/>
</glyph>
<glyph id="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9" class="process" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9" class="process" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<bbox x="732.3979591836735" y="172.64795918367346" w="10.204081632653063" h="10.204081632653063"/>
<port id="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9.1" x="730.3571428571429" y="177.75"/>
<port id="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9.2" x="744.6428571428571" y="177.75"/>
<port id="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9.1" x="730.3571428571429" y="177.75"/>
<port id="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9.2" x="744.6428571428571" y="177.75"/>
</glyph>
<glyph id="6cde7a25-b41a-b8cb-d3d3-188533472dae" class="macromolecule" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="6cde7a25__b41a__b8cb__d3d3__188533472dae" class="macromolecule" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="String"/>
<bbox x="698.25" y="621.25" w="70" h="35"/>
</glyph>
<glyph id="2f567801-fc2c-e128-f352-1dfab2f0dbce" class="macromolecule" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="2f567801__fc2c__e128__f352__1dfab2f0dbce" class="macromolecule" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<label text="String"/>
<bbox x="573.75" y="621.25" w="70" h="35"/>
</glyph>
<glyph id="a8404458-8ee5-6465-5d2e-4be53abad9f9" class="process" compartmentRef="nwtN_3ab42db3-7946-4642-a215-98b2f74f5061">
<glyph id="a8404458__8ee5__6465__5d2e__4be53abad9f9" class="process" compartmentRef="nwtN_3ab42db3__7946__4642__a215__98b2f74f5061">
<bbox x="671.2729591836735" y="633.6479591836735" w="10.204081632653063" h="10.204081632653063"/>
<port id="a8404458-8ee5-6465-5d2e-4be53abad9f9.1" x="669.2321428571429" y="638.75"/>
<port id="a8404458-8ee5-6465-5d2e-4be53abad9f9.2" x="683.5178571428571" y="638.75"/>
<port id="a8404458__8ee5__6465__5d2e__4be53abad9f9.1" x="669.2321428571429" y="638.75"/>
<port id="a8404458__8ee5__6465__5d2e__4be53abad9f9.2" x="683.5178571428571" y="638.75"/>
</glyph>
<arc id="nwtE_68ee44c6-86ba-499b-a798-db1c00254138" class="stimulation" source="c3a94e68-cca7-3c6a-f546-33c23dc59923" target="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c.1">
<arc id="nwtE_68ee44c6__86ba__499b__a798__db1c00254138" class="stimulation" source="c3a94e68__cca7__3c6a__f546__33c23dc59923" target="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c.1">
<start x="921.080325910126" y="457.9652198656987"/>
<end x="921.5261759090648" y="485.6915166747043"/>
</arc>
<arc id="nwtE_4b37b92d-3b8f-4aa1-9e1b-ea807137d5c9" class="consumption" source="nwtN_617312c5-bae0-423e-a711-c6adfee4193b" target="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c.1">
<arc id="nwtE_4b37b92d__3b8f__4aa1__9e1b__ea807137d5c9" class="consumption" source="nwtN_617312c5__bae0__423e__a711__c6adfee4193b" target="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c.1">
<start x="887.8263309352517" y="496.5839698656987"/>
<end x="913.9334737923946" y="496.5839698656987"/>
</arc>
<arc id="35db2b35-7414-81f4-77de-567e66e3e58c" class="production" source="2785fbb1-18d0-0b2f-dcf2-968acc6869c0.1" target="35a3e0be-6e00-7a99-fca5-18ed65c2fac1">
<arc id="35db2b35__7414__81f4__77de__567e66e3e58c" class="production" source="2785fbb1__18d0__0b2f__dcf2__968acc6869c0.1" target="35a3e0be__6e00__7a99__fca5__18ed65c2fac1">
<start x="689.1834737923946" y="553.5839698656984"/>
<end x="670.2013309352517" y="553.5839698656984"/>
</arc>
<arc id="nwtE_1fcb9fb6-ba5a-4ccf-bd50-155ce657fedb" class="stimulation" source="89360553-bab4-532a-c6c7-624272c4e43b" target="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9.2">
<arc id="nwtE_1fcb9fb6__ba5a__4ccf__bd50__155ce657fedb" class="stimulation" source="89360553__bab4__532a__c6c7__624272c4e43b" target="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9.2">
<start x="876.3110115826616" y="133.1"/>
<next x="846.7725196146399" y="215.10765742642806"/>
<next x="739.6115544277416" y="216.27195706300503"/>
<end x="738.096827670523" y="188.6381729951375"/>
</arc>
<arc id="nwtE_8a9898a8-7aec-4d2a-be12-2050f58ccc80" class="stimulation" source="c3a94e68-cca7-3c6a-f546-33c23dc59923" target="2785fbb1-18d0-0b2f-dcf2-968acc6869c0">
<arc id="nwtE_8a9898a8__7aec__4d2a__be12__2050f58ccc80" class="stimulation" source="c3a94e68__cca7__3c6a__f546__33c23dc59923" target="2785fbb1__18d0__0b2f__dcf2__968acc6869c0">
<start x="871.8513309352517" y="427.6367421240163"/>
<next x="696.1211067678281" y="516.0798276741556"/>
<end x="696.7102141608351" y="542.6918781303438"/>
</arc>
<arc id="9711fea3-2f48-6cbb-b419-9d7f84a6affd" class="consumption" source="bf4e242a-2a4e-49c2-0bf4-9cc45e2eae34" target="2785fbb1-18d0-0b2f-dcf2-968acc6869c0.2">
<arc id="9711fea3__2f48__6cbb__b419__9d7f84a6affd" class="consumption" source="bf4e242a__2a4e__49c2__0bf4__9cc45e2eae34" target="2785fbb1__18d0__0b2f__dcf2__968acc6869c0.2">
<start x="720.3263309352517" y="553.5839698656984"/>
<end x="704.7191880781088" y="553.5839698656984"/>
</arc>
<arc id="0017dd1d-a2d2-0bd9-83f5-ab16e0091265" class="production" source="a8404458-8ee5-6465-5d2e-4be53abad9f9.1" target="2f567801-fc2c-e128-f352-1dfab2f0dbce">
<arc id="0017dd1d__a2d2__0bd9__83f5__ab16e0091265" class="production" source="a8404458__8ee5__6465__5d2e__4be53abad9f9.1" target="2f567801__fc2c__e128__f352__1dfab2f0dbce">
<start x="668.6071428571429" y="638.75"/>
<end x="647.5" y="638.75"/>
</arc>
<arc id="nwtE_34b23376-b68c-4b93-9c19-53c7db6d0a10" class="production" source="nwtN_7ffe3be6-9a33-4696-a593-d5c0a8a45a4c.2" target="nwtN_5a3ef454-8d2b-46de-b3a1-f9a0c2409ee4">
<arc id="nwtE_34b23376__b68c__4b93__9c19__53c7db6d0a10" class="production" source="nwtN_7ffe3be6__9a33__4696__a593__d5c0a8a45a4c.2" target="nwtN_5a3ef454__8d2b__46de__b3a1__f9a0c2409ee4">
<start x="929.4691880781088" y="496.5839698656987"/>
<end x="951.9513309352517" y="496.5839698656987"/>
</arc>
<arc id="nwtE_bcf805de-7c8e-443d-8982-977ec5a34365" class="production" source="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9.1" target="nwtN_1eb9a857-e6fe-43e0-ae92-94ac8318e427">
<arc id="nwtE_bcf805de__7c8e__443d__8982__977ec5a34365" class="production" source="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9.1" target="nwtN_1eb9a857__e6fe__43e0__ae92__94ac8318e427">
<start x="729.7321428571429" y="177.75"/>
<end x="710.75" y="177.75"/>
</arc>
<arc id="nwtE_9f593961-7d71-49ac-8c9b-eb8e899665e4" class="stimulation" source="89360553-bab4-532a-c6c7-624272c4e43b" target="a8404458-8ee5-6465-5d2e-4be53abad9f9.2">
<arc id="nwtE_9f593961__7d71__49ac__8c9b__eb8e899665e4" class="stimulation" source="89360553__bab4__532a__c6c7__624272c4e43b" target="a8404458__8ee5__6465__5d2e__4be53abad9f9.2">
<start x="895.8520884767563" y="23.775"/>
<next x="895.7881795292933" y="0.156672204533562"/>
<next x="338.1521213680215" y="4.818574880887326"/>
......@@ -144,25 +144,25 @@
<next x="676.6128210113886" y="671.3083564077727"/>
<end x="676.4545657632249" y="649.6427737789338"/>
</arc>
<arc id="nwtE_98183863-8822-4e5b-b625-59eaac7ba2f6" class="consumption" source="a2ee1683-eb5f-030d-3bbe-46c0a02cb659" target="nwtN_78d6cd14-2e5f-463f-9a30-27ce3baea7d9.2">
<arc id="nwtE_98183863__8822__4e5b__b625__59eaac7ba2f6" class="consumption" source="a2ee1683__eb5f__030d__3bbe__46c0a02cb659" target="nwtN_78d6cd14__2e5f__463f__9a30__27ce3baea7d9.2">
<start x="763.375" y="177.75"/>
<end x="745.2678571428571" y="177.75"/>
</arc>
<arc id="8efed2fc-1ba9-c12e-7f12-37512a4aa7ce" class="production" source="9615ba87-e042-ef50-d78e-1ef00df34a6e.1" target="6f6a1c77-176d-7188-cdd5-048d3908a8b1">
<arc id="8efed2fc__1ba9__c12e__7f12__37512a4aa7ce" class="production" source="9615ba87__e042__ef50__d78e__1ef00df34a6e.1" target="6f6a1c77__176d__7188__cdd5__048d3908a8b1">
<start x="752.9334737923946" y="296.08396986569863"/>
<end x="733.4513309352517" y="296.08396986569863"/>
</arc>
<arc id="7e62d9bc-21f2-bd26-2540-40093f96f9cd" class="consumption" source="6cde7a25-b41a-b8cb-d3d3-188533472dae" target="a8404458-8ee5-6465-5d2e-4be53abad9f9.2">
<arc id="7e62d9bc__21f2__bd26__2540__40093f96f9cd" class="consumption" source="6cde7a25__b41a__b8cb__d3d3__188533472dae" target="a8404458__8ee5__6465__5d2e__4be53abad9f9.2">
<start x="697.625" y="638.75"/>
<end x="684.1428571428571" y="638.75"/>
</arc>
<arc id="nwtE_b9e23793-a56e-4277-b278-6724f6a4d68a" class="stimulation" source="c3a94e68-cca7-3c6a-f546-33c23dc59923" target="9615ba87-e042-ef50-d78e-1ef00df34a6e.2">
<arc id="nwtE_b9e23793__a56e__4277__b278__6724f6a4d68a" class="stimulation" source="c3a94e68__cca7__3c6a__f546__33c23dc59923" target="9615ba87__e042__ef50__d78e__1ef00df34a6e.2">
<start x="898.7303401635021" y="343.10355706025615"/>
<next x="870.0492807067365" y="262.6892070181446"/>
<next x="758.9251727526827" y="264.46092107526596"/>
<end x="760.0897927149003" y="285.1960302839807"/>
</arc>
<arc id="2c9b0dc2-d5bd-f6aa-22e6-f93fde1a35ff" class="consumption" source="7626c6b6-b0e0-b4b7-e5f3-f803fe319ef8" target="9615ba87-e042-ef50-d78e-1ef00df34a6e.2">
<arc id="2c9b0dc2__d5bd__f6aa__22e6__f93fde1a35ff" class="consumption" source="7626c6b6__b0e0__b4b7__e5f3__f803fe319ef8" target="9615ba87__e042__ef50__d78e__1ef00df34a6e.2">
<start x="786.0763309352517" y="296.08396986569863"/>
<end x="768.4691880781088" y="296.08396986569863"/>
</arc>
......
......@@ -376,6 +376,7 @@ function addUrlChangeListenersToCustomMap(customMap) {
GuiConnector.setUrlParam("x", Math.round(event.arg.x).toString());
// noinspection JSSuspiciousNameCombination
GuiConnector.setUrlParam("y", Math.round(event.arg.y).toString());
GuiConnector.setUrlParam("zoom", event.object.getZoom().toString());
};
var onZoomChangedHandler = function (event) {
......
Markdown is supported
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