Open
Description
New at using this.
I did this:
$(function () {
// create a map that replaces the default service with
// one using a string for the src property instead of a function
var map = $("#map").geomap({
center: [-71.0595678, 42.3604823],
zoom: 8,
services: [ {
id: "osm-string-src",
type: "shingled",
src: "myblahblahimage.png"
} ]
});
});
However, the image is stretched, and the zoom function works briefly but does not stay zoomed.
- How do I get the image to render correctly without stretching- do I set the image with a height and width in an inline map style?
- How do I get the zoom to stay?
Thanks in advance for your help.