I want to use the OpenLayers behavior "Geolocate Client" so the map initially zooms in on the users position... The user can place a marker close by (using geofield module). But if they edit that record from a new location, the map jumps them away from their existing point....

How can you make an existing point (or other feature added) to take precedence over a geolocate command execution?

One way to resolve this would be to have different maps for editing vs. adding records. They would both use Geofield, so maybe this issue belongs there? Not sure.

Any other ideas on how to handle this situation?

Comments

pol’s picture

Status: Active » Closed (works as designed)

I don't think that this is OpenLayers related.

I think you should use Conditionnal Fields.