• 24-08-2022, 17:09:53
    #1
    Üyeliği durduruldu
    Merhaba arkadaşlar bir projem için bir jQuery kullanıyorum.
    Her projem için ayrı bir JS kodu oluşturmam gerekiyor. Bunuda panelden textarea ile yapıyorum.

    <script type="text/javascript">
            ;(function ($, window, document, undefined) {
                $(document).ready(function() {
    
    
    $('#image-map-pro-container').imageMapPro({"id":877,"editor":{"selected_shape":"poly-5978","tool":"poly","shapeCounter":{"polys":11}},"general":{"name":"BALKAN TOWER","width":975,"height":610,"naturalWidth":975,"naturalHeight":610},"image":{"url":"https://kurtsafir.com/storage/balkantower/2.jpg"},"shapes":{"glowing_shapes":1},"tooltips":{"show_tooltips":"click","sticky_tooltips":1,"tooltip_animation":"grow","fullscreen_tooltips":"none"},"spots":[{"id":"poly-6028","title":"First Floor","type":"poly","x":37.282,"y":72.869,"width":41.333,"height":13.443,"x_image_background":37.282,"y_image_background":72.869,"width_image_background":41.333,"height_image_background":13.443,"static":1,"actions":{"click":"follow-link","link":"deneme"},"default_style":{"background_color":"#00194D","background_opacity":0,"stroke_opacity":0.72},"mouseover_style":{"background_color":"#00194D","background_opacity":0.61,"stroke_color":"#00194D","stroke_opacity":0.64},"tooltip":{"enable_tooltip":0},"tooltip_style":{"background_opacity":0.9924479166666667,"auto_width":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-532371","settings":{"elements":[{"settings":{"name":"Image","iconClass":"fa fa-camera"}},{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"FIRST FLOOR"},"font":{"font_weight":"bold"}}},{"settings":{"name":"Button","iconClass":"fa fa-link"},"options":{"button":{"text":"View Floor Plan","link_to":"Deneme"}}}]}}]}},"points":[{"x":0.2481389578163763,"y":14.634146341463447},{"x":0,"y":74.39024390243904},{"x":17.121588089330032,"y":100},{"x":100,"y":47.56097560975607},{"x":99.0074441687345,"y":0},{"x":45.16129032258064,"y":24.390243902439046},{"x":21.33995037220843,"y":37.80487804878048},{"x":5.206338664965396,"y":20.081052389905295}]},{"id":"poly-1014","title":"Poly 2","type":"poly","x":37.385,"y":65.984,"width":41.128,"height":10.82,"x_image_background":37.385,"y_image_background":65.984,"width_image_background":41.128,"height_image_background":10.82,"default_style":{"background_opacity":0},"mouseover_style":{"background_color":"#00194D","background_opacity":0.62,"stroke_color":"#00194D","stroke_opacity":0.62},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-240651","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"SECOND FLOOR"}}}]}}]}},"points":[{"x":0.24937655860349126,"y":9.090909090909092},{"x":0,"y":77.27272727272727},{"x":20.199501246882793,"y":100},{"x":99.75062344139651,"y":56.060606060606055},{"x":100,"y":0},{"x":32.917705735660846,"y":21.21212121212121},{"x":20.199501246882793,"y":27.27272727272727}]},{"id":"poly-5978","title":"Poly 4","type":"poly","x":37.179,"y":58.569,"width":41.37,"height":10.542,"x_image_background":37.384,"y_image_background":63.688,"width_image_background":7.179487179487179,"height_image_background":13.60655737704918,"actions":{"click":"follow-link","open_link_in_new_window":0},"default_style":{"background_opacity":0},"mouseover_style":{"background_color":"#00194D","background_opacity":0.62,"stroke_color":"#00194D","stroke_opacity":0.63},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-107661","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"THIRD FLOOR"},"font":{"font_weight":"bold"}}}]}}]}},"points":[{"x":0.4949659063972157,"y":81.21582520934358},{"x":20.147817410682954,"y":100},{"x":99.90787034112763,"y":68.77630816739263},{"x":100,"y":0},{"x":20.740763299935953,"y":10.451261215172622},{"x":0,"y":3.458541063054236}]},{"id":"poly-259","title":"Poly 5","type":"poly","x":37.282,"y":51.066,"width":41.436,"height":8.361,"x_image_background":37.282,"y_image_background":51.066,"width_image_background":41.436,"height_image_background":8.361,"default_style":{"background_opacity":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 5"}}}]}}]}},"points":[{"x":0.24857411772277516,"y":1.9607843137255085},{"x":20.297868153614722,"y":0},{"x":100,"y":7.84313725490195},{"x":99.50495570281748,"y":92.15686274509805},{"x":20.297868153614722,"y":100},{"x":0,"y":92.15843137254903}]},{"id":"poly-9447","title":"Poly 6","type":"poly","x":37.385,"y":42.705,"width":41.231,"height":9.236,"x_image_background":37.385,"y_image_background":42.705,"width_image_background":41.231,"height_image_background":9.236,"default_style":{"background_opacity":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 6"}}}]}}]}},"points":[{"x":0,"y":94.0780077526886},{"x":20.14925373134328,"y":88.7515380564503},{"x":66.76283604382732,"y":100},{"x":100,"y":95.85302431368507},{"x":99.25373134328358,"y":24.850231853951236},{"x":20.398009950248753,"y":0},{"x":0,"y":10.650099365979122}]},{"id":"poly-4862","title":"Poly 7","type":"poly","x":37.59,"y":33.361,"width":41.026,"height":11.476,"x_image_background":37.59,"y_image_background":33.361,"width_image_background":41.026,"height_image_background":11.476,"default_style":{"background_opacity":0},"tooltip":{"enable_tooltip":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 7"}}}]}}]}},"points":[{"x":0,"y":19.999314309223696},{"x":0,"y":88.56839194084782},{"x":19.5,"y":81.42577968755363},{"x":100,"y":100},{"x":99.25,"y":38.570106167788545},{"x":20,"y":0}]},{"id":"poly-5271","title":"Poly 8","type":"poly","x":37.487,"y":23.852,"width":41.128,"height":13.934,"x_image_background":37.487,"y_image_background":23.852,"width_image_background":41.128,"height_image_background":13.934,"default_style":{"background_opacity":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 8"}}}]}}]}},"points":[{"x":0,"y":28.235294117647058},{"x":0.24937655860349126,"y":82.35294117647058},{"x":19.70074812967581,"y":72.94117647058823},{"x":99.75062344139651,"y":100},{"x":100,"y":47.05882352941176},{"x":21.695760598503743,"y":0}]},{"id":"poly-1277","title":"Poly 9","type":"poly","x":37.385,"y":16.475,"width":41.128,"height":14.59,"x_image_background":37.385,"y_image_background":16.475,"width_image_background":41.128,"height_image_background":14.59,"default_style":{"background_opacity":0},"tooltip":{"enable_tooltip":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 9"}}}]}}]}},"points":[{"x":0.24937655860349126,"y":20.224719101123593},{"x":0,"y":75.28089887640449},{"x":20.448877805486283,"y":56.17977528089888},{"x":100,"y":100},{"x":100,"y":50.56179775280899},{"x":21.44638403990025,"y":0}]},{"id":"poly-6133","title":"Poly 10","type":"poly","x":35.231,"y":0.082,"width":43.692,"height":23.443,"x_image_background":35.231,"y_image_background":0.082,"width_image_background":43.692,"height_image_background":23.443,"default_style":{"background_opacity":0},"tooltip":{"enable_tooltip":0},"tooltip_content":{"squares_settings":{"containers":[{"id":"sq-container-403761","settings":{"elements":[{"settings":{"name":"Heading","iconClass":"fa fa-header"},"options":{"heading":{"text":"Poly 10"}}}]}}]}},"points":[{"x":9.389671361502346,"y":18.88111888111888},{"x":0,"y":44.05594405594406},{"x":1.4084507042253522,"y":52.44755244755245},{"x":4.929577464788732,"y":54.54545454545454},{"x":4.929577464788732,"y":82.51748251748252},{"x":24.88262910798122,"y":69.23076923076923},{"x":99.29577464788733,"y":100},{"x":100,"y":62.23776223776224},{"x":95.77464788732394,"y":44.75524475524475},{"x":25.11737089201878,"y":0}]}]});
    
    
    
    
     });
            })(jQuery, window, document);
        </script>
    Yukarıda ki kodu manuel olarak eklediğim için çalışmasında sorun yok. Ama ben her proje için ayrı bir js kodu girmem lazım.
    Aşağıda ki gibi JS kodumu mysql 'db' den çekiyorum.

    <script type="text/javascript">
            ;(function ($, window, document, undefined) {
                $(document).ready(function() {
    
    
    {{$property->katplan }}
    
    
     });
            })(jQuery, window, document);
        </script>
    Buraya kadar sorun yok. Ama çalışırken kodlar değişiyor ve kodlar şu şekilde geliyor
    <script type="text/javascript">
            ;(function ($, window, document, undefined) {
                $(document).ready(function() {
    
    
    $('#image-map-pro-container').imageMapPro({&quot;id&quot;:877,&quot;editor&quot;:{&quot;previewMode&quot;:1,&quot;selected_shape&quot;:&quot;poly-5978&quot;,&quot;tool&quot;:&quot;poly&quot;,&quot;shapeCounter&quot;:{&quot;polys&quot;:11}},&quot;general&quot;:{&quot;name&quot;:&quot;BALKAN TOWER&quot;,&quot;width&quot;:975,&quot;height&quot;:610,&quot;naturalWidth&quot;:975,&quot;naturalHeight&quot;:610},&quot;image&quot;:{&quot;url&quot;:&quot;https://kurtsafir.com/storage/balkantower/2.jpg&quot;},&quot;shapes&quot;:{&quot;glowing_shapes&quot;:1},&quot;tooltips&quot;:{&quot;show_tooltips&quot;:&quot;click&quot;,&quot;sticky_tooltips&quot;:1,&quot;tooltip_animation&quot;:&quot;grow&quot;,&quot;fullscreen_tooltips&quot;:&quot;none&quot;},&quot;spots&quot;:[{&quot;id&quot;:&quot;poly-6028&quot;,&quot;title&quot;:&quot;First Floor&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.282,&quot;y&quot;:72.869,&quot;width&quot;:41.333,&quot;height&quot;:13.443,&quot;x_image_background&quot;:37.282,&quot;y_image_background&quot;:72.869,&quot;width_image_background&quot;:41.333,&quot;height_image_background&quot;:13.443,&quot;static&quot;:1,&quot;actions&quot;:{&quot;click&quot;:&quot;follow-link&quot;,&quot;link&quot;:&quot;deneme&quot;},&quot;default_style&quot;:{&quot;background_color&quot;:&quot;#00194D&quot;,&quot;background_opacity&quot;:0,&quot;stroke_opacity&quot;:0.72},&quot;mouseover_style&quot;:{&quot;background_color&quot;:&quot;#00194D&quot;,&quot;background_opacity&quot;:0.61,&quot;stroke_color&quot;:&quot;#00194D&quot;,&quot;stroke_opacity&quot;:0.64},&quot;tooltip&quot;:{&quot;enable_tooltip&quot;:0},&quot;tooltip_style&quot;:{&quot;background_opacity&quot;:0.9924479166666667,&quot;auto_width&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-532371&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Image&quot;,&quot;iconClass&quot;:&quot;fa fa-camera&quot;}},{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;FIRST FLOOR&quot;},&quot;font&quot;:{&quot;font_weight&quot;:&quot;bold&quot;}}},{&quot;settings&quot;:{&quot;name&quot;:&quot;Button&quot;,&quot;iconClass&quot;:&quot;fa fa-link&quot;},&quot;options&quot;:{&quot;button&quot;:{&quot;text&quot;:&quot;View Floor Plan&quot;,&quot;link_to&quot;:&quot;Deneme&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0.2481389578163763,&quot;y&quot;:14.634146341463447},{&quot;x&quot;:0,&quot;y&quot;:74.39024390243904},{&quot;x&quot;:17.121588089330032,&quot;y&quot;:100},{&quot;x&quot;:100,&quot;y&quot;:47.56097560975607},{&quot;x&quot;:99.0074441687345,&quot;y&quot;:0},{&quot;x&quot;:45.16129032258064,&quot;y&quot;:24.390243902439046},{&quot;x&quot;:21.33995037220843,&quot;y&quot;:37.80487804878048},{&quot;x&quot;:5.206338664965396,&quot;y&quot;:20.081052389905295}]},{&quot;id&quot;:&quot;poly-1014&quot;,&quot;title&quot;:&quot;Poly 2&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.385,&quot;y&quot;:65.984,&quot;width&quot;:41.128,&quot;height&quot;:10.82,&quot;x_image_background&quot;:37.385,&quot;y_image_background&quot;:65.984,&quot;width_image_background&quot;:41.128,&quot;height_image_background&quot;:10.82,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;mouseover_style&quot;:{&quot;background_color&quot;:&quot;#00194D&quot;,&quot;background_opacity&quot;:0.62,&quot;stroke_color&quot;:&quot;#00194D&quot;,&quot;stroke_opacity&quot;:0.62},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-240651&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;SECOND FLOOR&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0.24937655860349126,&quot;y&quot;:9.090909090909092},{&quot;x&quot;:0,&quot;y&quot;:77.27272727272727},{&quot;x&quot;:20.199501246882793,&quot;y&quot;:100},{&quot;x&quot;:99.75062344139651,&quot;y&quot;:56.060606060606055},{&quot;x&quot;:100,&quot;y&quot;:0},{&quot;x&quot;:32.917705735660846,&quot;y&quot;:21.21212121212121},{&quot;x&quot;:20.199501246882793,&quot;y&quot;:27.27272727272727}]},{&quot;id&quot;:&quot;poly-5978&quot;,&quot;title&quot;:&quot;Poly 4&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.179,&quot;y&quot;:58.569,&quot;width&quot;:41.37,&quot;height&quot;:10.542,&quot;x_image_background&quot;:37.384,&quot;y_image_background&quot;:63.688,&quot;width_image_background&quot;:7.179487179487179,&quot;height_image_background&quot;:13.60655737704918,&quot;actions&quot;:{&quot;click&quot;:&quot;follow-link&quot;,&quot;open_link_in_new_window&quot;:0},&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;mouseover_style&quot;:{&quot;background_color&quot;:&quot;#00194D&quot;,&quot;background_opacity&quot;:0.62,&quot;stroke_color&quot;:&quot;#00194D&quot;,&quot;stroke_opacity&quot;:0.63},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-107661&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;THIRD FLOOR&quot;},&quot;font&quot;:{&quot;font_weight&quot;:&quot;bold&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0.4949659063972157,&quot;y&quot;:81.21582520934358},{&quot;x&quot;:20.147817410682954,&quot;y&quot;:100},{&quot;x&quot;:99.90787034112763,&quot;y&quot;:68.77630816739263},{&quot;x&quot;:100,&quot;y&quot;:0},{&quot;x&quot;:20.740763299935953,&quot;y&quot;:10.451261215172622},{&quot;x&quot;:0,&quot;y&quot;:3.458541063054236}]},{&quot;id&quot;:&quot;poly-259&quot;,&quot;title&quot;:&quot;Poly 5&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.282,&quot;y&quot;:51.066,&quot;width&quot;:41.436,&quot;height&quot;:8.361,&quot;x_image_background&quot;:37.282,&quot;y_image_background&quot;:51.066,&quot;width_image_background&quot;:41.436,&quot;height_image_background&quot;:8.361,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 5&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0.24857411772277516,&quot;y&quot;:1.9607843137255085},{&quot;x&quot;:20.297868153614722,&quot;y&quot;:0},{&quot;x&quot;:100,&quot;y&quot;:7.84313725490195},{&quot;x&quot;:99.50495570281748,&quot;y&quot;:92.15686274509805},{&quot;x&quot;:20.297868153614722,&quot;y&quot;:100},{&quot;x&quot;:0,&quot;y&quot;:92.15843137254903}]},{&quot;id&quot;:&quot;poly-9447&quot;,&quot;title&quot;:&quot;Poly 6&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.385,&quot;y&quot;:42.705,&quot;width&quot;:41.231,&quot;height&quot;:9.236,&quot;x_image_background&quot;:37.385,&quot;y_image_background&quot;:42.705,&quot;width_image_background&quot;:41.231,&quot;height_image_background&quot;:9.236,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 6&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0,&quot;y&quot;:94.0780077526886},{&quot;x&quot;:20.14925373134328,&quot;y&quot;:88.7515380564503},{&quot;x&quot;:66.76283604382732,&quot;y&quot;:100},{&quot;x&quot;:100,&quot;y&quot;:95.85302431368507},{&quot;x&quot;:99.25373134328358,&quot;y&quot;:24.850231853951236},{&quot;x&quot;:20.398009950248753,&quot;y&quot;:0},{&quot;x&quot;:0,&quot;y&quot;:10.650099365979122}]},{&quot;id&quot;:&quot;poly-4862&quot;,&quot;title&quot;:&quot;Poly 7&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.59,&quot;y&quot;:33.361,&quot;width&quot;:41.026,&quot;height&quot;:11.476,&quot;x_image_background&quot;:37.59,&quot;y_image_background&quot;:33.361,&quot;width_image_background&quot;:41.026,&quot;height_image_background&quot;:11.476,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip&quot;:{&quot;enable_tooltip&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 7&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0,&quot;y&quot;:19.999314309223696},{&quot;x&quot;:0,&quot;y&quot;:88.56839194084782},{&quot;x&quot;:19.5,&quot;y&quot;:81.42577968755363},{&quot;x&quot;:100,&quot;y&quot;:100},{&quot;x&quot;:99.25,&quot;y&quot;:38.570106167788545},{&quot;x&quot;:20,&quot;y&quot;:0}]},{&quot;id&quot;:&quot;poly-5271&quot;,&quot;title&quot;:&quot;Poly 8&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.487,&quot;y&quot;:23.852,&quot;width&quot;:41.128,&quot;height&quot;:13.934,&quot;x_image_background&quot;:37.487,&quot;y_image_background&quot;:23.852,&quot;width_image_background&quot;:41.128,&quot;height_image_background&quot;:13.934,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 8&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0,&quot;y&quot;:28.235294117647058},{&quot;x&quot;:0.24937655860349126,&quot;y&quot;:82.35294117647058},{&quot;x&quot;:19.70074812967581,&quot;y&quot;:72.94117647058823},{&quot;x&quot;:99.75062344139651,&quot;y&quot;:100},{&quot;x&quot;:100,&quot;y&quot;:47.05882352941176},{&quot;x&quot;:21.695760598503743,&quot;y&quot;:0}]},{&quot;id&quot;:&quot;poly-1277&quot;,&quot;title&quot;:&quot;Poly 9&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:37.385,&quot;y&quot;:16.475,&quot;width&quot;:41.128,&quot;height&quot;:14.59,&quot;x_image_background&quot;:37.385,&quot;y_image_background&quot;:16.475,&quot;width_image_background&quot;:41.128,&quot;height_image_background&quot;:14.59,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip&quot;:{&quot;enable_tooltip&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 9&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:0.24937655860349126,&quot;y&quot;:20.224719101123593},{&quot;x&quot;:0,&quot;y&quot;:75.28089887640449},{&quot;x&quot;:20.448877805486283,&quot;y&quot;:56.17977528089888},{&quot;x&quot;:100,&quot;y&quot;:100},{&quot;x&quot;:100,&quot;y&quot;:50.56179775280899},{&quot;x&quot;:21.44638403990025,&quot;y&quot;:0}]},{&quot;id&quot;:&quot;poly-6133&quot;,&quot;title&quot;:&quot;Poly 10&quot;,&quot;type&quot;:&quot;poly&quot;,&quot;x&quot;:35.231,&quot;y&quot;:0.082,&quot;width&quot;:43.692,&quot;height&quot;:23.443,&quot;x_image_background&quot;:35.231,&quot;y_image_background&quot;:0.082,&quot;width_image_background&quot;:43.692,&quot;height_image_background&quot;:23.443,&quot;default_style&quot;:{&quot;background_opacity&quot;:0},&quot;tooltip&quot;:{&quot;enable_tooltip&quot;:0},&quot;tooltip_content&quot;:{&quot;squares_settings&quot;:{&quot;containers&quot;:[{&quot;id&quot;:&quot;sq-container-403761&quot;,&quot;settings&quot;:{&quot;elements&quot;:[{&quot;settings&quot;:{&quot;name&quot;:&quot;Heading&quot;,&quot;iconClass&quot;:&quot;fa fa-header&quot;},&quot;options&quot;:{&quot;heading&quot;:{&quot;text&quot;:&quot;Poly 10&quot;}}}]}}]}},&quot;points&quot;:[{&quot;x&quot;:9.389671361502346,&quot;y&quot;:18.88111888111888},{&quot;x&quot;:0,&quot;y&quot;:44.05594405594406},{&quot;x&quot;:1.4084507042253522,&quot;y&quot;:52.44755244755245},{&quot;x&quot;:4.929577464788732,&quot;y&quot;:54.54545454545454},{&quot;x&quot;:4.929577464788732,&quot;y&quot;:82.51748251748252},{&quot;x&quot;:24.88262910798122,&quot;y&quot;:69.23076923076923},{&quot;x&quot;:99.29577464788733,&quot;y&quot;:100},{&quot;x&quot;:100,&quot;y&quot;:62.23776223776224},{&quot;x&quot;:95.77464788732394,&quot;y&quot;:44.75524475524475},{&quot;x&quot;:25.11737089201878,&quot;y&quot;:0}]}]});
    
    
     });
            })(jQuery, window, document);
        </script>
    Bunu nasıl çözebilirim? Yada makul bir fiyata yardımcı olabilecek uzman bir arkadaşımız var mı ? Teşekkür ederim.
    Not: System Laravel frameworku ile yazıldı.
  • 24-08-2022, 17:18:05
    #2
    Hocam decode etmeniz gerekiyor. Basit bir sorun. Çok az araştırma ile çözebilirsiniz kendiniz.
    Edit => Link
  • 24-08-2022, 17:33:39
    #3
    Üyeliği durduruldu
    Çözemedim. Yardımcı olabilecek bir uzman arkadaş var mı ücreti mukabilinde ?
  • 24-08-2022, 19:49:16
    #4
    KurtSafir adlı üyeden alıntı: mesajı görüntüle
    Çözemedim. Yardımcı olabilecek bir uzman arkadaş var mı ücreti mukabilinde ?
    <script type="text/javascript">
            ;(function ($, window, document, undefined) {
                $(document).ready(function() {
     
     
    {!! $property->katplan !!}
     
     
     });
            })(jQuery, window, document);
        </script>
    Laravel'de ozel karaktere sahip html, xml, json (decode gerektirebilir) {!! $var !!} seklinde cagirdiginizda normal string olarak degil, direk html dom betigine uygun olarak gelir.
    Basitce oldugu gibi getirir.
    Verdigim koddaki gibi uygularsaniz muhtemelen duzelecektir.
  • 24-08-2022, 21:40:28
    #5
    Üyeliği durduruldu
    T1mSaH adlı üyeden alıntı: mesajı görüntüle
    <script type="text/javascript">
            ;(function ($, window, document, undefined) {
                $(document).ready(function() {
     
     
    {!! $property->katplan !!}
     
     
     });
            })(jQuery, window, document);
        </script>
    Laravel'de ozel karaktere sahip html, xml, json (decode gerektirebilir) {{!! $var !!}} seklinde cagirdiginizda normal string olarak degil, direk html dom betigine uygun olarak gelir.
    Basitce oldugu gibi getirir.
    Verdigim koddaki gibi uygularsaniz muhtemelen duzelecektir.
    Harikasın. Çok teşekkür ederim. Dediğiniz şekilde oldu. Bilgime bilgi eklediniz çok teşekkür ederim.
  • 24-08-2022, 22:01:10
    #6
    KurtSafir adlı üyeden alıntı: mesajı görüntüle
    Harikasın. Çok teşekkür ederim. Dediğiniz şekilde oldu. Bilgime bilgi eklediniz çok teşekkür ederim.
    Rica ederim, cozdugunuze sevindim.