Map issue

Replaced the old uLayers javascript with straightforward leaflet fixed the cerntering issue.
does this need to be https ?