Make sure you are providing the latitude and longitude in Decimal format. It is very likely that you are missing the negative (-) sign for your longitude value.
So for something like San Fransisco, which is at 37.7833° N, 122.4167° W, you would want to pass 37.7833,-122.4167