fix handling of null-values for coordinates of Character groups Quest Stations
This commit is contained in:
parent
e03dea0d80
commit
33e1c4d8b5
2 changed files with 19 additions and 34 deletions
|
|
@ -194,28 +194,11 @@
|
|||
new ol.layer.Vector({
|
||||
source: markersSource,
|
||||
style: styleFunction
|
||||
/*
|
||||
style: new ol.style.Style({
|
||||
text: new ol.style.Text({
|
||||
text: '\uf041',
|
||||
//text: '\uf276',
|
||||
font: 'normal 28px FontAwesome',
|
||||
textBaseline: 'Bottom',
|
||||
fill: new ol.style.Fill({
|
||||
color: '#0F373C'
|
||||
})
|
||||
})
|
||||
})
|
||||
*/
|
||||
})/*,
|
||||
new ol.layer.Vector({
|
||||
source: pathSource
|
||||
})
|
||||
*/
|
||||
],
|
||||
target: 'map',
|
||||
view: new ol.View({
|
||||
center: ol.proj.transform([<?=$station['longitude']?>, <?=$station['latitude']?>], 'EPSG:4326', 'EPSG:3857'),
|
||||
center: [0, 0],
|
||||
zoom: 19,
|
||||
maxZoom: 19
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue