Open ldtsang74 opened 1 week ago
@ldtsang74 could you try to add also the OmniBar
plugin to see if it solves the problem?
{% extends 'geonode-mapstore-client/_geonode_config.html' %}
{% block override_local_config %}
<script>
window.__GEONODE_CONFIG__.overrideLocalConfig = function(localConfig, _) {
localconfig.plugins.map_embed.push({ "name": "Search" });
localconfig.plugins.map_embed.push({ "name": "OmniBar" });
return localConfig;
};
</script>
{% endblock %}
I try to embed a map and enable the "search" plugin by adding the script to _geonode_config.html
{% extends 'geonode-mapstore-client/_geonode_config.html' %} {% block override_local_config %}
{% endblock %}
It is fine but the location of search bar overalap with layer button at left top corner. Anyone can help to solve it that put the search bar to right top corner. Thank you.