Hero192 Posted September 9, 2015 Share Posted September 9, 2015 Hey, there's a different between creating markers and storing them in empty table and creating markers without storing them? and explain to me please i like to know more infos like that myMarkers = {} myMarkers [name] = createMarker....etc Link to comment
JR10 Posted September 9, 2015 Share Posted September 9, 2015 The simple answer, no, there's no difference in storing the marker in a table, variable or not storing it at all. createMarker returns the marker element created, you can choose to either store the marker element in a variable (or a table) or not store it. If you do store it, then you can manipulate it later, like set its position with setElementPosition, set its color, etc.. Link to comment
Recommended Posts
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