Jump to content

Question


Hero192

Recommended Posts

Posted

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 

Posted

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..

Business System viewtopic.php?f=108&t=35797

Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726

SQLite Tutorial viewtopic.php?f=148&t=38203

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...