diff --git a/apps/main/templates/main_index.html b/apps/main/templates/main_index.html index 0680632..17678f0 100644 --- a/apps/main/templates/main_index.html +++ b/apps/main/templates/main_index.html @@ -72,7 +72,12 @@ let centerLon = '{{lat}}' const getGTOMarkerText = function (feature) { - return feature.get('statenum'); + const statemum = feature.get('statenum') + console.log(statemum) + if (statemum) { + return statemum; + } + return feature.get('name') }; const createGTOStateNumTextStyle = function (feature, resolution) {