For access, you can get your api key from Mappls Console
- Map Object
- Position
Example:
Var infowindow =new mappls.InfoWindow({
map:map,
position: {"lng":"77.64534","lat":"28.5454"},
});
- Content: It shows the marker information on the Info Window by creating a pop up.
{
content: "MapmyIndia"
}
- Class: It shows the pre-defined custom class name on the Info Window.
{
class: info_class
}
- Offset: It sets the user defined location of the Info Window pop up modal.
{
offset: [0,10]
}
- MaxWidth: It sets the width in pixels of the Info Window.
{
maxWidth: 200
}
- closeButton: It shows the Close button on the Info Window. By default it is set to
true
{
closeButton: true
}
Example of Info Window
infoWindow_object =new Mappls.InfoWindow({
position: {"lng":"77.64534","lat":"28.5454"},
class: info_class ( optional ),
map: map_object,
content: "MapmyIndia",
offset: [0,10],
maxWidth: 200
});
Mappls.remove({map: map_object, layer: infoWindow_object);
For any queries and support, please contact:
Email us at apisupport@mappls.comSupport Need support? contact us!
@ Copyright 2022 CE Info Systems Ltd. All Rights Reserved.
Terms & Conditions | Privacy Policy | Supplier Sustainability Policy | Health & Safety Policy | Environmental Policy & CSR Report
Customer Care: +91-9999333223