def METHOD_NAME(area_settings):
    point = {"test": [1, 2]}
    template = "{% load maps_tags %}{% map_display_point point polygon %}"
    context = {"point": point, "polygon": area_settings.polygon}
    expected = (
        r"^<div"
        r' style="height: 300px"'
        r' data-map="display_point"'
        r' data-baseurl="{baseurl}"'
        r' data-usevectormap="0"'
        r' data-mapbox-token=""'
        r' data-omt-token=""'
        r' data-attribution="{attribution}"'
        r' data-point="(?P<point>{{.+}})"'
        r' data-polygon="(?P<polygon>{{.+}})"'
        r' data-pin-src="null"'
        r"></div>$"
    ).format(
        baseurl=escape(settings.A4_MAP_BASEURL),
        attribution=escape(settings.A4_MAP_ATTRIBUTION),
    )
    match = re.match(expected, helpers.render_template(template, context))
    assert match
    _point = match.group("point")
    assert json.loads(unescape(_point)) == point
    _polygon = match.group("polygon")
    assert json.loads(unescape(_polygon)) == area_settings.polygon