Always use svg display in gis editor (#18182)
* Always use svg display in gis editor Data with srid does would not display in editor. This was the easiest fix. Signed-off-by: Maximilian Krög <maxi_kroeg@web.de> * Apply suggestions from code review Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> --------- Signed-off-by: Maximilian Krög <maxi_kroeg@web.de> Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
90cbefad59
commit
3d5dfc5ec9
@ -11,14 +11,14 @@
|
||||
{{ get_hidden_inputs() }}
|
||||
|
||||
{# Visualization section #}
|
||||
<div id="placeholder"{{ srid != 0 ? ' class="hide"' }}>
|
||||
<div id="placeholder">
|
||||
{{ visualization|raw }}
|
||||
</div>
|
||||
|
||||
<div id="openlayersmap" style="width: {{width}}px; height: {{height}}px;"{{ srid == 0 ? ' class="hide"' }}></div>
|
||||
|
||||
<div class="choice float-end">
|
||||
<input type="checkbox" id="choice" value="useBaseLayer"{{ srid != 0 ? ' checked="checked"' }}>
|
||||
<input type="checkbox" id="choice" value="useBaseLayer">
|
||||
<label for="choice">{% trans "Use OpenStreetMaps as Base Layer" %}</label>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user