Plot address instead of lat and lng

Currently I convert the address to lat and lng in the backend (php) then plot the point with the code below.

var point = new MQA.Poi({ lat: result[i]['Lat'], lng: result[i]['Lng'] });

How would I be able to plot the point with just an address rather than converting it myself.

So you have an address and want to get coordinates to this?

Geocoding is the magic word …

see for all known OSM based geocoding services and software.

No, that’s what I’m already doing. “Currently I convert the address to lat and lng”

I want to plot the POI directly with an address without having to geocode myself.

I finally found the answer: map.geocodeAndAddLocations(‘Denver CO’);