I want Google Maps markers that will:
- Change on a daily basis
- Be loaded depending on (if there is an event at particular venue tonight)
- Loaded Categorically (can be turned on/off)
- loaded by date
I expect to have an average of 40 markers on screen at a time, and max no more than 300.
My markers are sorted in an array. What should I go with?
I’m not entirely sure I understand your question but hopefully I can help.
I am presuming this is part of a larger website with an existing db behind it so it sounds to me that you should store your markers in the db and read the required markers out when the page is requested. Your business logic will make sure you get the correct markers at any given time. Your view can then take an IEnumerable which you can use to populate your map.
Your Marker class can look something like this
You’ve probably already come across this but, if not, here is a good place to get info on using the google map api:
http://code.google.com/apis/ajax/playground/#markers_v3
Apologies if this is not helpful as I have had to make a few assumptions on what you are working with.