• In the documentation for leaflet-geojson/kml

    “… Also, if you want to add feature properties to the popups, use the inner content and curly brackets to substitute the values: [leaflet-geojson]Field A = {field_a}[/leaflet-geojson] …”

    so initially I have in my web page
    <– base layer –>
    [leaflet-map zoom=8 zoomcontrol doubleClickZoom lat=”37″ lng=”-95″]
    <– kml layer –>
    [leaflet-kml src=”./cbsa_10.kml” popup_text=”network stats” popup_property=”GEOID”]

    … this works as expected – the popup shows the GEOID (or any other single property of a placemark)

    what needs to change to get a popup to show both the properties “name” and “GEOID” ?

    I think I might be confused by the reference in the documentation to ‘inner content’

    thanks
    howard

  • The topic ‘newbie question on leaflet-kml’ is closed to new replies.