Home › Forums › MapPress Support › Setting POI title, tooltip, and zoom level on automatic map › Reply To: Setting POI title, tooltip, and zoom level on automatic map
Sorry for all the confusion. I’ll try to answer your questions. Please also upgrade to the latest 2.38.5 so you have the latest code.
1. The plugin assumes if you provide lat/lng then you there’s no street address – incorrect in this case. I’ll try to fix that in the next beta (2.38.6). As a workaround you can write your shortcode using the (undocumented) ‘correctedaddress’ parameter to force the plugin to believe the address was geocoded:
correctedaddress="513 W 7th St, 19805" title="513 W 7th St" iconid="red-dot" point_lat="39.744481" point_lng="-75.554222"
You’ll want to include city/state in the address. When you get directions to that address Google will geocode it automatically and without a full address it will ‘guess’.
2. For the zoom: when an address is geocoded Google returns the correct viewport to show that address. For a lat/lng, though, there’s no way for the plugin to know the zoom – you could be displaying a street, state or an entire country.
You can specify a zoom level (1-19) for the map, though, in the [mappress] shortcode:
3. For the meta field: you can save a dummy post with that ‘errors’ field to keep it in the list. The plugin is coded to delete the field value if there’s no error (the idea was to let you easily find posts that have errors). But I think it would make more sense to show “OK” in that field when there’s no error. I’ll update that in 2.38.6 and also look into adjusting the settings screen to make it easier to use.