scottdejonge/map-icons

Changing Sizes of icon paths

jdoan3 opened this issue · 2 comments

I am trying to resize the map_pin since the pin is so large. does any one have a clue how to change these sizes? I looked at the svg and modified the heights/width but I noticed nothing changed in the sizes. I see that Map_Pin has a path set in the .js file, other than that I'm not really sure how I can change the size of the pin. Any help would be great.

image
Use scale

Also you need to edit the map-icons.scss a little bit. This is for .7 scale (I multiplied original values of width and height and font-size by .7)

.map-icon-label .map-icon {
	display: block;
	font-size: 17px;
	color: #FFFFFF;
	width: 33.6px;
	line-height: 33.6px;
	text-align: center;
	white-space: nowrap;
}