I made everything the same except Map.js .
Trying to do hardcode like this giving default [0,0] location but not the required place
import React from 'react'
import {AzureMap, AzureMapsProvider, IAzureMapOptions} from 'react-azure-maps'
import {AuthenticationType} from 'azure-maps-control'
import LocationMarker from './LocationMarker'
const option: IAzureMapOptions = {
authOptions: {
authType: AuthenticationType.subscriptionKey,
subscriptionKey: '<key>'
},
}
const Map = (center,zoom) => {
return(
<div style={{height: '1300px'}}>
<AzureMapsProvider>
<AzureMap options={option}>
<LocationMarker center= {78.9629, 20.5937}/>
</AzureMap>
</AzureMapsProvider>
</div>
)
}
export default Map