I am trying to create multiple Marker Overlays with different characteristics (some represent doctors, some represent hospitals). My code looks like this:
InMemoryMarkerOverlay doclayer = DefineMarkerLayer(mDoctorLayer, Images); //Builds Layer
InMemoryMarkerOverlay hosplayer = DefineMarkerLayer(mHospitalLayer, Images); //Builds Layer
MapControl.Overlays.Add("DoctorOverlay", doclayer);
MapControl.Overlays.Add("HospitalOverlay", hosplayer);
How can I have both layers display? Only the Hospital layer displays, when I comment out the Hospital Layer the Doctor Layer displays.
Thanks!!
bob