My organization would prefer to use its own basemaps rather than those provided by ArcGIS Online due to the accuracy of information that is represented in them. The area we service is rapidly developing, and as such, there is no way for Esri to keep up with the data as well as we can.
As such, the basemaps are all created with a spatial reference based on a State Plane projection and hosted on our server this way. This causes problems whenever I attempt to use the HTML5 Geolocation feature in my code, as it returns a latitude/longitude value.
I have toyed with several methods for using these values in my code, primarily: using a Geometry Service to project them into my desired spatial reference or overlaying Esri's basemaps with our data in order to have our data converted to the spatial reference of their maps. However, the former method requires thorough error handling and the latter creates a significant loss of accuracy as well as some graphical issues due to labels overlapping.
Is there a better way to handle this issue?