Secure websites use HTTPS
Width | Orientation | Recommended Height |
---|---|---|
Less than 768px | Mobile | 1040px |
More than or equal to 768px | Landscape | 642px |
<iframe
id="responsive-iframe"
src="null/en/map?isScrollable=true&primaryColor=%236253E8&view=Winning%20margin&lang=en&year=2025&constituenciesView=all"
frameborder="0"
scrolling="no"
width="100%"
height="100%"
>
</iframe>
<script>
function adjustIframeHeight() {
const iframe = document.getElementById('responsive-iframe');
const width = iframe.offsetWidth;
if (width < 768) {
iframe.style.height = '1040px'; // ADJUST HEIGHT HERE FOR MOBILE VIEW HERE
} else {
iframe.style.height = '642px'; // FIXED HEIGHT FOR DESKTOP & TABLET SCREEN WIDTHS
}
}
window.addEventListener('load', adjustIframeHeight);
window.addEventListener('resize', adjustIframeHeight);
</script>
Feel free to use and embed this interactive map, it has been optimised for mobile, desktop and article embeddings. Please credit the Elections Department and data.gov.sg. For more information, you may email admin@data.gov.sg.
Information banner
We'll be able to let users know when something is not right, with flexibility to cater messaging to each case.
Cloudflare waiting room
When traffic load is high, users may be placed in a virtual queue to access the map.
Dismissible toast
If a particular feature is not working, users may also see a temporary banner that they may dismiss.