Answer the question
In order to leave comments, you need to log in
js and php how to combine code in a script?
Tell me how to fill in the js yandex api template (Maps).
I have a database that needs to be inserted into js from php, but how?
myPlacemark75 = new ymaps.Placemark([43.073784574497424,44.67815099999991], {
balloonContentHeader: ' CITYLINE ',
balloonContentBody: 'Telmann Address, 49/64а Link ',
}, {
// Options.
// This layout type must be specified.
iconLayout: 'default #image',
// Custom label icon image
iconImageHref: 'images/img49.png',
// Label dimensions
iconImageSize: [30, 30],
// Offset of the upper left corner of the icon relative
// to its "legs" (anchor points).
iconImageOffset: [-3, -42]
});
myMap.geoObjects.add(myPlacemark75);
Answer the question
In order to leave comments, you need to log in
Use CMS or write a script that will take data from the database and insert values into the template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question