You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.2 KiB

2 years ago
{"ast":null,"code":"export function updateCircle(layer, props, prevProps) {\n if (props.center !== prevProps.center) {\n layer.setLatLng(props.center);\n }\n\n if (props.radius != null && props.radius !== prevProps.radius) {\n layer.setRadius(props.radius);\n }\n}","map":{"version":3,"names":["updateCircle","layer","props","prevProps","center","setLatLng","radius","setRadius"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/@react-leaflet/core/lib/circle.js"],"sourcesContent":["export function updateCircle(layer, props, prevProps) {\n if (props.center !== prevProps.center) {\n layer.setLatLng(props.center);\n }\n if (props.radius != null && props.radius !== prevProps.radius) {\n layer.setRadius(props.radius);\n }\n}\n"],"mappings":"AAAA,OAAO,SAASA,YAAT,CAAsBC,KAAtB,EAA6BC,KAA7B,EAAoCC,SAApC,EAA+C;EAClD,IAAID,KAAK,CAACE,MAAN,KAAiBD,SAAS,CAACC,MAA/B,EAAuC;IACnCH,KAAK,CAACI,SAAN,CAAgBH,KAAK,CAACE,MAAtB;EACH;;EACD,IAAIF,KAAK,CAACI,MAAN,IAAgB,IAAhB,IAAwBJ,KAAK,CAACI,MAAN,KAAiBH,SAAS,CAACG,MAAvD,EAA+D;IAC3DL,KAAK,CAACM,SAAN,CAAgBL,KAAK,CAACI,MAAtB;EACH;AACJ"},"metadata":{},"sourceType":"module"}