I am either just too dumb or too new to Leaflet to figure this out; probably more of both though. I have created a map and have the points populated with about 1600 VA locations. When I populate the the info for a popup, the map takes forever to load and it's loading a lot of info, VISN, facility name, Address, mailing address and possible up to two phone numbers per location. I can't get it too load the popups and this may be because i am using div tags to format the data. But back to the load time issue, Is there some way to implement an ajax call to pull the data when a user clicks on a point? Also, do any of you have an example of using div tags in the popup?
Example:)
VISN: 6
Facility: VA Chief Business Office Purchased Care (CBOPC) - VA Health Administration Center
Address: 3773 Cherry Creek North Drive
Denver, CO 80209
Mailing Address: 810 Vermont Ave NW (00CFM)
Washington, DC 20420
Contact:
Primary Phone:
303-331-7500Alt Phone:
303-331-7508