Changing Sizes of icon paths #58

Open
jdoan3 opened this Issue Sep 4, 2016 · 2 comments

Projects

None yet

3 participants

@jdoan3
jdoan3 commented Sep 4, 2016

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.

@adumskis

image
Use scale

@dtruel
dtruel commented Dec 12, 2016 edited

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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment