Issue:
We are using a map component from the 'Basic Elements' palette and have set the latitude and longitude values for the map center (under Map tab) to reference fields as $F{lat} and $F{long} respectively.
However, when navigating to the Markers tab and adding a new marker or editing an existing marker, the map center latitude and longitude expression values were reset to 45.439722 and 12.331944 overwriting what was defined.
Solution:
This was reported as a defect (reference JSS-2682) and the workaround is to define all your markers first and then set/re-set the map center expression values last or copy and paste the relevant two lines back into the source code under the Source tab:
<c:latitudeExpression><![CDATA[$F{lat}]]></c:latitudeExpression> <c:longitudeExpression><![CDATA[$F{long}]]></c:longitudeExpression>
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now